I hereby claim:
- I am meetmeleave on github.
- I am vladmartynenko (https://keybase.io/vladmartynenko) on keybase.
- I have a public key ASDc1nhbYR6HNq5jT4MlWuPIY461wFLC8aqWu7F8M5y2cgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # read more here http://tautt.com/best-nginx-configuration-for-security/ | |
| # don't send the nginx version number in error pages and Server header | |
| server_tokens off; | |
| # config to don't allow the browser to render the page inside an frame or iframe | |
| # and avoid clickjacking http://en.wikipedia.org/wiki/Clickjacking | |
| # if you need to allow [i]frames, you can use SAMEORIGIN or even set an uri with ALLOW-FROM uri | |
| # https://developer.mozilla.org/en-US/docs/HTTP/X-Frame-Options | |
| add_header X-Frame-Options SAMEORIGIN; |
| echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_watches && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_queued_events && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_instances && watchman shutdown-server && sudo sysctl -p |
| curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
| sudo apt-get install -y nodejs |
| sudo add-apt-repository ppa:eugenesan/ppa | |
| sudo apt-get update | |
| sudo apt-get install smartgit |
| $ cd ~ | |
| $ git clone https://github.com/facebook/watchman.git | |
| $ cd watchman/ | |
| $ git checkout v4.7.0 | |
| $ sudo apt-get install -y autoconf automake build-essential python-dev | |
| $ ./autogen.sh | |
| $ ./configure | |
| $ make | |
| $ sudo make install |
| 1) Select Id, ParentId, Field, PermissionsEdit, PermissionsRead FROM FieldPermissions where SObjectType = 'Opportunity' | |
| 2) Select Id, PERMISSIONSET.PROFILE.NAME from permissionset | |
| ParentId of first query will be equal to Id on second query | |
| This query will select all the field permissions for Opportunity |
| FieldsWrapper wrp1 = new FieldsWrapper(); | |
| wrp1.FieldName = 'test field1'; | |
| wrp1.FieldType = 'BOOLEAN'; | |
| FieldsWrapper wrp2 = new FieldsWrapper(); | |
| wrp2.FieldName = 'test field2'; | |
| wrp2.FieldType = 'LONG'; | |
| ModelStageMessage msg = new ModelStageMessage(); | |
| ModelRecords model1 = new ModelRecords(); | |
| model1.LatticeModelID = '23423423423'; |
| List<CronTrigger> t = [select Id, CronExpression, CronJobDetail.Name from CronTrigger]; | |
| for(CronTrigger tr : t) | |
| System.abortJob(tr.Id); |
| String.prototype.getSize = function(){ | |
| return this.length; | |
| }; | |
| var test = 'test string'; | |
| console.log(test.getSize()); |