Skip to content

Instantly share code, notes, and snippets.

📉
ᕕ( ᐛ )ᕗ I am davloper

Quinlan Pfiffer qpfiffer

📉
ᕕ( ᐛ )ᕗ I am davloper
Block or report user

Report or block qpfiffer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View nijotz queries
$ grep -rn '.*[eEth].*[ \$]297.*' irc.freenode.#infoforcefeed.weechatlog irc.freenode.#shitstream.tv.weechatlog
irc.freenode.#infoforcefeed.weechatlog:34910:2013-12-04 22:19:40 er1c_ i've been mining too: 1001 11225 7.2 18.9 2975704 583588 pts/7 Ssl+ Aug21 10982:57 minecraft_server.jar nogui
irc.freenode.#infoforcefeed.weechatlog:35169:2013-12-05 13:42:00 nijotz It performs a commit for every file it unannexes, so 2975 commits
irc.freenode.#infoforcefeed.weechatlog:567927:2017-10-10 15:52:12 tenyks Ethereum (ethusd=x) 297.9900 None (+0.1109%) None
irc.freenode.#infoforcefeed.weechatlog:570243:2017-10-25 17:12:50 tenyks Ethereum (ethusd=x) 297.5200 None (-0.0336%) None
irc.freenode.#infoforcefeed.weechatlog:580891:2017-12-13 14:27:21 jnerula eth at 297
irc.freenode.#infoforcefeed.weechatlog:595183:2018-03-06 17:09:23 jnerula Eth at 297
irc.freenode.#infoforcefeed.weechatlog:596796:2018-03-21 23:02:30 jnerula eth @ 297
irc.freenode.#shitstream.tv.weechatlo
View comparisons.js
const userProfileIsOldEnough = () => {
return userProfile.age > 18;
}
export default { userProfileIsOldEnough };
View example.py
data = [
{
wifi: ...
},
{
...
},
{
...
}
View thing.py
#!/usr/bin/env python3
from functools import reduce
TUPLES = (
(0,24),
(1,20),
(2,9),
(3,5),
(4,3),
(5,3),
View loggin.js
correctlyLogErrors: (wrappedFunction) => {
var new_func = async (...functionArguments) => {
var retval = null
try {
retval = await wrappedFunction(...functionArguments)
} catch (error) {
console.log("ERROR THROWN:", error.message)
console.log("STACK:", error.stack)
throw(error)
}
View wat.js
// Runs and works as expected:
let err = null
var userQueryResult
[userQueryResult, err] = await to(function())
// throws an error:
let err = null
var userQueryResult = null
[userQueryResult, err] = await to(function())
View thing.json
{
"_readableState":{
"objectMode":false,
"highWaterMark":16384,
"buffer":{
"head":null,
"tail":null,
"length":0
},
"length":0,
View just_lol.txt
40 ++-----+------+------+------+------+------+------+------+------+------+-------+------+------+------+------+-*----+------+------+------+-----++
+ + + + + + + + * + + +
| : : : : : : * : * : : |
| : *: : : : : * : * : : |
| * : *: : : : : * : * : : |
| * : *: : : : : * : * : : |
35 ++..........*..............*............................................................*...................*...................
View s.cr
require "json"
string = %({"coord":{"lon":-79.66,"lat":43.58},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"base":"stations","main":{"temp":292.49,"pressure":1017,"humidity":63,"temp_min":291.15,"temp_max":294.15},"visibility":24140,"wind":{"speed":3.6,"deg":150},"clouds":{"all":90},"dt":1507320000,"sys":{"type":1,"id":3722,"message":0.004,"country":"CA","sunrise":1507288997,"sunset":1507330127},"id":6075357,"name":"Mississauga","cod":200})
value = JSON.parse(string)
puts value["main"]["temp"]
View aliases.txt
no has the following 2 aliases:
* no became dm
PoopFace444 has the following 1 aliases:
mapstatetobusbus has the following 2 aliases:
* mapstatetobusbus became no
mapstatetopropsb has the following 2 aliases:
* mapstatetopropsb became mapstatetobusbus
busbus has the following 2 aliases:
* busbus became mapstatetopropsb
thanksandthankyo has the following 2 aliases:
You can’t perform that action at this time.