分类

链接

2025 年 9 月
1234567
891011121314
15161718192021
22232425262728
2930  

近期文章

热门标签

新人福利,免费薅羊毛

自己写的一个英汉互翻译的词典,附源码

支持:1.英汉互翻译2.历史记录3.句子翻译4.CTRL+F 自动呼出 先上图:  关键源代码(很简单):    private void FrmTranslation_Load(object sender, EventArgs e)        {            this.txtWord.Focus();            this.txtWord.Select();        }         void bw_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)        {            this.txtResult.Text = Result;        }         void bw_DoWork(object sender, DoWorkEventArgs e)  ...

.NET 暂无评论 阅读(644)

MySQL使用Union创建视图报错

mysql> select * from test_main;+----+-------+| id | value |+----+-------+|  1 | ONE   ||  2 | TWO   ||  3 | THREE |+----+-------+3 rows in set (0.00 sec) mysql> create table test_main2 select * from test_main;Query OK, 3 rows affected (0.04 sec)Records: 3  Duplicates: 0  Warnings: 0  -- 创建视图, sql 语句加了括号, 报错。CREATE VIEW view_test_mainAS(SELECT * FROM test_mainUNION ALLSELECT * FROM test_main2); ERROR 1064 (42000): You have an e...

MySQL 暂无评论 阅读(668)

asp.net mvc auth2.0简化版——客户端

 public partial class Login : Page    {        public string client_id = "123456789";        public string getCodeUrl = "http://localhost:8080/?client_id={0}>response_type={1}>redirect_uri={2}>scope={3}>state={4}";        public string getTokenUrl = "http://localhost:8080/Auth/Token?code={0}>grant_type={1}>client_id={2}";        public string getUserUrl = "http://localhost:8080/Auth/UserInfo?token={0}";        protected void Page_Load(object sende...

.NET 暂无评论 阅读(555)

asp.net mvc auth2.0简化版——服务端

 public class AuthController : Controller    {        private static readonly List<string> client_id_list = new List<string>() { "123456789" };        private static readonly List<string> response_type_list = new List<string>() { "code" };        private static readonly List<UserInfo> user_list = new List<UserInfo>();        private static readonly List<UserCode> user_code_list = new List<UserCode>();        private s...

.NET 暂无评论 阅读(623)

Salseforce Ant Migration Tool

Ant Migration Tool什么是Ant Migration Tool,Ant Migration Tool是一个手动(代码)发布你的APP到saleforce的工具。为什么要用这个ant mig tool呢,salesforce也可以在线发布呢,目的就是,项目多了以后,命令更方便。 安装1.安装JDK2.安装 Apache Ant, version 1.6 or newer.3.设置环境变量,JAVA的不说了,要设置ant的,a.增加ANT_HOME=D:\Program Files\apache-ant-1.10.2b.在PATH下增加:;%ANT_HOME%/bin;4.使用ant -version检查是否成功测试例子1 .在你的 Apache Ant 目标下, 解压,进入...

Salesforce 暂无评论 阅读(615)

eclipse调用salseforce soap api

内容参考:https://resources.docs.salesforce.com/202/latest/en-us/sfdc/pdf/salesforce_developer_environment_tipsheet.pdfhttps://www.cnblogs.com/zero-zyq/p/6077773.html具体步骤:1.下载Force.com Web Service Connector下载链接为http://mvnrepository.com/artifact/com.force.api/force-wsc2.下载开发的WSDL文件Setup->Build->API,这里有很多可以选择的WSDL,企业级WSDL,合作伙伴,元信息等。此处选择企业级WSDL,选择以后详情页右键另存为MyProject.wsdl,名字随便起不同WSDL区别:https:...

Salesforce 暂无评论 阅读(636)

mysql插入单引号字符串

此时将字符串中的单引号" ' "替换成"  ' '  "两个单引号即可。此时应该利用java中的“replace”方法进行替换。此处给出java中的替换代码。 public static void main(String[] args) throws Exception{        Server ss=new Server();        String str="I'm a boy";        String temp=str.replaceAll("'", "''");        String sql="insert into test VALUES('"+temp+"');";        ss.operate(sql, 2);        System.out.println(temp);        System.out.println(sql);    }此时的输出结...

MySQL 暂无评论 阅读(615)

关于技术,写在30岁以后

关于技术,写在30岁以后1.30岁以前不断地学习和了解各种语言、技术、平台,扩大了自己的知识面,遇到问题时,能够想到更多的解决方案。2.30岁以后,打算专一一点,不再那么狂热地追求新技术,而是把一件事情做好,做到极致3.泛娱乐:定位之后的赚钱的方向还是泛娱乐30岁以后:专注泛娱乐

Others 暂无评论 阅读(499)

30岁以后:专注泛娱乐

泛娱乐行业的产值和规模分布2017年,就不同品类的内容所产生的市场总价值而言,中国泛娱乐产业已是一个近6000亿元的市场,前景惊人。其大致分布为游戏1700亿元(增速8-10%),剧集和综艺1200亿元(增速30-25%),电影1250亿元(增速5-10%),动漫780亿元(增速25-30%)。>>文学网络文学是泛娱乐产业中的重要一环,是诸多重要IP的培育场,为泛娱乐产业发展提供了源源不断的动力。网络文学的价值被重新发掘,也让其成为互联网巨头争相布局的领域。>>剧&综艺剧集和综艺有着不同的变现模式——...

Others 暂无评论 阅读(534)

Lightning Components Demo

A component that provides a concrete type-specific input component implementation based on the data to which it is bound.Represents an input field that corresponds to a field on a Salesforce object. This component respects the attributes of the associated field. For example, if the component is a number field with 2 decimal places, then the default input value contains the same number of decimal places. It loads the input field according to the field type. If the compone...

Salesforce 暂无评论 阅读(606)