This file contains 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
op list items --tags ssh | op get item - --fields title | parallel -l 1 'op get item {} --fields notesPlain | ssh-add -' |
This file contains 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
import com.intellij.vcsUtil.VcsUtil | |
import git4idea.GitUtil | |
import git4idea.GitContentRevision | |
import git4idea.GitRevisionNumber | |
import com.intellij.openapi.vcs.history.VcsDiffUtil | |
import git4idea.changes.GitChangeUtils | |
import git4idea.history.GitHistoryUtils | |
import com.intellij.openapi.actionSystem.CommonDataKeys | |
import com.intellij.ide.DataManager | |
import com.intellij.dvcs.DvcsUtil |
This file contains 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
docker run --rm -v /tmp:/backup -v webproxy_letsencrypt_data:/webproxy_letsencrypt_data busybox tar cvf /backup/backup.tar /webproxy_letsencrypt_data/ | |
dm scp dustbag:/tmp/backup.tar dustbag.vs:/tmp/backup.tar | |
docker run --rm -v /tmp:/backup -v webproxy_letsencrypt_data:/webproxy_letsencrypt_data busybox sh -c "cd /webproxy_letsencrypt_data && tar xvf /backup/backup.tar --strip-components=1" | |
docker run -it --rm -v /tmp:/backup -v webproxy_letsencrypt_data:/webproxy_letsencrypt_data busybox sh |
This file contains 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
https://developers.google.com/api-client-library/ruby/auth/service-accounts?hl=ru | |
https://cloud.google.com/docs/authentication/production?hl=ru#auth-cloud-explicit-ruby | |
https://github.com/francois-blanchard/human_relationship_manager/blob/5a672f9b6e1d7b17c6884705332c170ca7c5e95a/app/services/google_client.rb | |
https://github.com/cunhasb/sms-manager-backend/blob/13ce7b627fb7217caf411691e377e600fe597b92/app/controllers/api/v1/auth_controller.rb | |
https://github.com/chriskoz/QueueProxy/blob/ed7dff392775e8069d2d0a49eb02c9266bef9df3/app/controllers/queue_controller.rb |
This file contains 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
<?php | |
class PersistenceCollectionCrawlQueue extends \Spatie\Crawler\CrawlQueue\CollectionCrawlQueue | |
{ | |
protected $last_saved_time; | |
protected function flushQueueOnDisk() | |
{ | |
if (!$this->last_saved_time || time() - $this->last_saved_time > 60) { | |
$this->last_saved_time = time(); |
This file contains 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
#!/usr/bin/php | |
<?php | |
date_default_timezone_set( 'UTC' ); | |
$sitemaps = array( | |
'https://bjornjohansen.no/sitemap_index.xml', | |
); |
This file contains 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
setInterval(function() { | |
var e = urls.pop(); | |
if (e) { | |
console.log(e); | |
$('#uniq1472745500789286316').val(e); | |
$('button[type=submit]').click(); | |
} | |
}, 3000); | |
var urls = ["http://cleanstore.ru/shopping_cart?product_id=222", |
This file contains 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
export RABBITMQ_NODENAME=rabbit@localhost | |
export RABBITMQ_NODE_IP_ADDRESS=127.0.0.1 | |
export ERL_EPMD_ADDRESS=::ffff:127.0.0.1 |
This file contains 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
http://www.raskraski.ru/cat_hobbart_hb4050283_jerebenok_s_mamoy.html | |
http://www.raskraski.ru/cat_raskraska_schipper_9130454.html | |
http://www.raskraski.ru/cat_schipper_9400683_gerbera.html | |
http://www.raskraski.ru/cat_schipper_9400684_hrizantema.html | |
http://www.raskraski.ru/cat_raskraska_schipper_9340625.html |
This file contains 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
var options, req, request; | |
request = require('request'); | |
options = { | |
uri: 'https://p04-fmfmobile.icloud.com/fmipservice/friends/{account_id}/{unique_device_id}/minCallback/selFriend/refreshClient', | |
method: 'POST', | |
headers: { | |
'X-Apple-AuthScheme': 'Forever', | |
'Content-type': 'application/json' |
NewerOlder