Skip to content

Instantly share code, notes, and snippets.

View qpfiffer's full-sized avatar
🔚

Quinlan Pfiffer qpfiffer

🔚
View GitHub Profile
40 ++-----+------+------+------+------+------+------+------+------+------+-------+------+------+------+------+-*----+------+------+------+-----++
+ + + + + + + + * + + +
| : : : : : : * : * : : |
| : *: : : : : * : * : : |
| * : *: : : : : * : * : : |
| * : *: : : : : * : * : : |
35 ++..........*..............*............................................................*...................*...................
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"]
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:
quinlan@corinthian:~/.weechat/logs$ grep -B1 -rn 'tenyks.*LOLBOW$' ./irc.freenode.#infoforcefeed.weechatlog | grep -v 'LOLBOW' | grep -v '\-\-' | sed -r 's/([0-9 -:]*)(\s*)([a
-zA-Z1-9_-]*)(\s*)lol$/\3/g' | sort | uniq -c > /tmp/matches.txt
quinlan@corinthian:~/.weechat/logs$ cat /tmp/matches.txt
1 437815-2016-03-03 03:10:59 tenyks Link title: Urban Dictionary: Lol
1 446223-2016-04-05 19:07:17 Xe lol\
1 466876-2016-06-09 15:13:39 nijotz BimboTea
1 469408-2016-06-24 23:06:43 dm lol me bb
1 469885-2016-06-27 14:35:13 lykkin lol that's a good typo
1 525127-2017-02-28 16:05:48 [2017]
1 527824-2017-03-14 19:15:10 [2017]
λ:~ cat tags-8-17-17.csv | awk '{ print length, $0 }' | sort -n -r | cut -d" " -f2- | head -n 250
"http://m.zumiez.com/adidas-adiease-premium-black-white-and-gum-shoes.html?utm_source=listrak_trig&utm_medium=email&utm_campaign=pp-web-1&trk_msg=CSQA21MR6B8K5623ILPH4J4BFG&trk_contact=EJNJ2Q507IO0RKDQBGARAD9DOC&trk_module=ppe&trk_sid=O24ODF6GN0GRFEGOE0BC0"
"http://m.zumiez.com/zine-bryand-charcoal-burgundy-black-striped-hoodie.html?utm_campaign=share-product&utm_source=share&utm_medium=web"
"It's very thin but but really comfortable but it's fits me a little tight because it's not so order one size up "
"Please restock I was going to buy the jacket before it sold out. Then it was never restocked like come on "
"Id really like to have this board because i love its design and colors but im too poor to getit"
"Very nice shoes and should always be in stock ....... I'm going to get the size thirteen soon"
"It was very small unfortunately. it's very cute tho I could barley fit any binders into it :("
"Pink and blue lo
quinlan@corinthian:~/.weechat/logs$ grep -rn ':[a-z0-9_]*spaghetti' ./irc.freenode.*
./irc.freenode.#infoforcefeed.weechatlog:535212:2017-04-14 14:19:34 jnerula :fallen_plate_of_spaghetti_on_floor:
./irc.freenode.#shitstream.tv.weechatlog:60364:2017-03-29 20:06:47 YOLO247 :plate_of_spaghetti_spilled_on_the_floor:
./irc.freenode.#shitstream.tv.weechatlog:62168:2017-04-05 18:33:12 jnerula :plate_of_flipped_spaghetti:
./irc.freenode.#shitstream.tv.weechatlog:68740:2017-05-01 14:43:30 jnerula :spaghetti_plate_upside_down_on_floor:
./irc.freenode.#shitstream.tv.weechatlog:69942:2017-05-03 19:22:53 dash-dash-dash dm: :plate_of_spaghetti_upside_down_on_the_floor:
λ:~/src clang++ -o test_static_cast ./test_static_cast.cpp
./test_static_cast.cpp:7:42: error: no matching conversion for static_cast from 'std::string' (aka 'basic_string<char>') to 'std::vector<unsigned char>'
std::vector<unsigned char> new_str = static_cast<std::vector<unsigned char> >(test_string);
for field in changed_bar_fields_whitelist:
formatted_field_name = '_stashed_{}'.format(field)
try:
stashed_field = getattr(instance, formatted_field_name)
current_field = getattr(instance, field)
if current_field != stashed_field:
changed.append(field)
except AttributeError:
pass
I hole-hardedly agree, but allow me to play doubles advocate here for a moment. For all intensive purposes I think you are wrong. In an age where false morals are a diamond dozen, true virtues are a blessing in the skies. We often put our false morality on a petal stool like a bunch of pre-Madonnas, but you all seem to be taking something very valuable for granite. So I ask of you to mustard up all the strength you can because it is a doggy dog world out there. Although there is some merit to what you are saying it seems like you have a huge ship on your shoulder. In your argument you seem to throw everything in but the kids Nsync, and even though you are having a feel day with this I am here to bring you back into reality. I have a sick sense when it comes to these types of things. It is almost spooky, because I cannot turn a blonde eye to these glaring flaws in your rhetoric. I have zero taller ants when it comes to people spouting out hate in the name of moral righteousness. You just need to remember what
Boon: Wally I have a new game idea
Boon: You play as this fat dude
Boon: Trying to run away from this train that is much to fast to escape from
Boon: When you get hit by it, you go through this 3 hour cutscene explaining that the train was you the whole time
Boon: And that the universe is void without good steamworsk
Boon: I have another idea
Boon: You play as a basketball
Boon: That's it
Boon: I have another idea
Boon: You play as a member of the blue man group going through a rough divource with his husband who turns out to be 2pac