This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo puppet apply --modulepath=/opt/node/puppet/modules /opt/node/puppet/manifests/ini.pp | |
| sudo puppet apply --modulepath=/vagrant/puppet/modules /vagrant/puppet/manifests/ini.pp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function isInt(n) | |
| { | |
| return n != "" && !isNaN(n) && Math.round(n) == n; | |
| } | |
| function isFloat(n){ | |
| return n != "" && !isNaN(n) && Math.round(n) != n; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| npm -g ls | grep -v 'npm@' | awk '/@/ {print $2}' | awk -F@ '{print $1}' | xargs npm -g rm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo su | |
| sync; echo 3 > /proc/sys/vm/drop_caches |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo lsof -i -n | egrep '\<ssh\>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Couchbase = require 'couchbase' | |
| fs = require('fs') | |
| readline = require('readline') | |
| stream = require('stream') | |
| async = require('async') | |
| elasticsearch = require('elasticsearch') | |
| host = "xxx" | |
| cluster = new Couchbase.Cluster("couchbase://#{host}") | |
| couchbase = cluster.openBucket("users") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| base64 --wrap=0 ~/.ssh/id_rsa_travis > ~/.ssh/id_rsa_travis_64 | |
| cat ~/.ssh/id_rsa_travis_64 | perl -pe 's/(.{100})/$1\n/g' | nl | perl -pe 's/\s*(\d+)\s*(.*)/echo " - secure: `travis encrypt ID_RSA_TRAVIS_$1=$2 --pro`"/' | sh | |
| # OUTPUT | |
| # - secure: "...=" | |
| # - secure: "...=" | |
| # - secure: "...=" | |
| # ... | |
| # - secure: "...=" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git fetch -p |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <VAST version='3.0'><Ad id='llxzrwli'><InLine><AdSystem version='1.0'>The Trade Desk</AdSystem><AdTitle><![CDATA[TTD-OguryApp_PMP_NA_NONSKIP_APP_CON_CA_GM-601-R_20s-FalcoCalcioCamion-NewsSportMotori-8345553]]></AdTitle><Description /><Error><![CDATA[https://enduser.adsrvr.org/enduser/video/?ve=error&vec=[ERRORCODE]&ast=[ASSETURI]&imp=463dd238-8249-40c3-a88b-64699d0cda26&ag=mfe4dqy&crid=llxzrwli&cf=6717357&fq=0&t=1&td_s=net.wooga.junes_journey_hidden_object_mystery_game&rcats=app-4mg,app-gts&mste=&mfld=2&mssi=&mfsi=&sv=ogury&uhow=102&agsa=&wp=${AUCTION_PRICE}&rgz=&dt=Mobile&osf=Android&os=Android110&br=WebView&svpid=9e7f72da61b19608383c9c078816c70c&rlangs=sm,it&mlang=&did=Ogury-20231222-IT-279fa1&rcxt=InApp&tmpc=17.350000000000023&vrtd=14,15&osi=&osv=&daid=&dnr=0&vpb=InterstitialSliderFloating&c=CgVJdGFseRIEUm9tZRoAIgRSb21lMAM4AUgAUAFYAoABAIgBApABArABALoBBQjORRgGyQGamZmZmZlBQOABAOgBAP0BAAAAAJICJDBjZTYzNmQwLWM3YTEtMDEzOS1mN2ZmLTAyNDJhYzEyMDAwNNgCiA7gAogO6AK0AfACAPgCAYADAogDApADAZgDBKADPbgD0cAGmgQHdGFxcWZ6bA..&d |
OlderNewer