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 | |
require_once('TwitterAPIExchange.php'); | |
$settings = array( | |
'oauth_access_token' => "", | |
'oauth_access_token_secret' => "", | |
'consumer_key' => "", | |
'consumer_secret' => "" | |
); |
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
for i in `curl https://mestores.com/sitemap-$1.xml | grep loc | cut -d '>' -f3 | grep ^http | cut -d '<' -f1`; do | |
echo $i | |
time curl --silent --output /dev/null --compressed $i -H 'user-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1' | |
time curl --silent --output /dev/null --compressed $i -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36' | |
done |
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
FROM ubuntu:18.04 | |
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y git wget curl nano unzip sudo vim net-tools software-properties-common haveged apt-transport-https | |
RUN sudo apt-get install -y openjdk-8-jre | |
RUN wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - | |
RUN sudo apt-get install -y |
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
nodejs code read (orkun, osman) | |
X - translation, translation-key-file.pem (osman) | |
X - stocks from soh, MDM (orkun) | |
X - amber, payment (cybersource, paypal) (orkun) | |
X - products from mysql (orkun) |
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 sd = sd || {}; | |
sd.utils = sd.utils || {}; | |
sd.utils.preloadImage = function (url) { | |
var deferred = $.Deferred(); | |
var image = new Image(); | |
image.src = url; | |
image.onload = deferred.resolve; |
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 WallE = function () { | |
var context = new webkitAudioContext(); | |
this.osc = context.createOscillator(); | |
this.analyser = context.createAnalyser(); | |
this.osc.connect(this.analyser); | |
this.analyser.connect(context.destination); | |
this.osc.start(0); | |
}; |
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 | |
$row = 0; | |
$head = array(); | |
$result = array(); | |
$columnCount = 0; | |
$input = "/var/www/products.csv"; | |
$output = "/tmp/outx.json"; |
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
# This is a basic VCL configuration file for varnish. See the vcl(7) | |
# man page for details on VCL syntax and semantics. | |
# | |
# Default backend definition. Set this to point to your content | |
# server. | |
# | |
backend server1 { | |
.host = "haber.local"; | |
.port = "8080"; | |
} |
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 Sahi = function () { | |
var that = this; | |
console.log(this); | |
that.msg = "Burasi Class"; | |
that.clickBindEt = function () { | |
console.log('class this ', this); | |
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
#1227086 | #1227085 | #1227084 | #387134 | #387133 | #339221 | #387166 | #387141 | #339223 | #339224 | #387139 | #339225 | #387140 | #387143 | #339227 | #387129 | #339229 | #387158 | #339230 | #387159 | #339231 | #387149 | #339232 | #387101 | #339236 | #387165 | #339237 | #387164 | #339238 | #387163 | #339239 | #339240 | #387122 | #387123 | #339241 | #339242 | #387136 | #339245 | #339246 | #387145 | #387146 | #339247 | #387144 | #339248 | #387170 | #339251 | #387127 | #339252 | #339253 | #339254 | #387118 | #339255 | #387152 | #339257 | #387151 | #339258 | #387153 | #339259 | #339260 | #387112 | #387137 | #387138 | #339263 | #387126 | #339264 | #387115 | #387116 | #387160 | #339270 | #387106 | #339271 | #387108 | #339272 | #387117 | #339273 | #387125 | #339278 | #387090 | #339280 | #339281 | #339282 | #387096 | #387097 | #339284 | #339285 | #387148 | #339286 | #387121 | #339289 | #387128 | #339290 | #339291 | #387091 | #387092 | #387110 | #339293 | #339295 | #339296 | #339297 | #387105 | #339298 | #387111 | # |
NewerOlder