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
23.235.33.217 vimeo.com | |
23.235.33.217 www.vimeo.com | |
23.235.33.217 developer.vimeo.com | |
23.235.33.217 api.vimeo.com | |
23.235.33.217 player.vimeo.com | |
151.101.9.140 reddit.com | |
151.101.9.140 www.reddit.com | |
151.101.9.140 np.reddit.com | |
151.101.9.140 m.reddit.com | |
54.174.14.76 out.reddit.com |
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
#!/bin/bash | |
sudo cat /etc/NetworkManager/system-connections/"$*" | grep "psk=" | cut -d'=' -f2 |
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
/** | |
* Determine if the session and input CSRF tokens match. | |
* | |
* @param \Illuminate\Http\Request $request | |
* @return bool | |
*/ | |
protected function tokensMatch($request) | |
{ | |
$sessionToken = $request->session()->token(); |
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
var FCM = require('fcm-push-notif'); | |
var serverKey = 'firebase_server_key'; | |
var fcm = new FCM(serverKey); | |
var message = { | |
to: '/topics/news', // required could be topic url or device registration token | |
collapse_key: 'your_collapse_key', | |
data: { | |
message: 'This is data message' |
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
#!/bin/bash | |
sudo su | |
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge | |
#sudo update-grub | |
echo Success update kernel |
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
# Name the components on this agent | |
Agent1.sources = netcat-source | |
Agent1.channels = memory-channel | |
Agent1.sinks = logger-sink | |
# Describe/configure Source | |
Agent1.sources.netcat-source.type = netcat | |
Agent1.sources.netcat-source.bind = localhost | |
Agent1.sources.netcat-source.port = 44444 |
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
var ThrottleEngine = require("throttle-exec") | |
var Promise = require("when/es6-shim/Promise") | |
var Request = require("request") | |
var throttlingCount = 10 | |
var ThrottleInstance = new ThrottleEngine(throttlingCount) | |
var Engine = function(param){ | |
return ThrottleInstance.registerAction("request",[param]) | |
} |
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
object HelloWorld { | |
def main(args: Array[String]) { | |
val listKopi = List("Noah’s Barn Coffenery","Two Hands Full","Yellow Truck","Jack Runner Roastery","Kopi Anjis","Blue Doors","Rumah kopi","Cups Coffee & Kitchen","Kopi Lamping","Lacamera Coffee","Two Cents","Kopi Selasar Sunaryo","Kopi Gesang Café","Kedai Kopi Mata Angin","Kopi Ireng","Coffe And John") | |
val r = scala.util.Random | |
println(listKopi(r.nextInt(listKopi.size))) | |
} | |
} |
NewerOlder