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
https://chrome.google.com/webstore/detail/awesome-screenshot-captur/alelhddbbhepgpmgidjdcjakblofbmce | |
How many trackers does a single Chrome extension need? | |
Seven. | |
https://ssl.google-analytics.com/ (manifest.json, javascripts/cga.js) | |
https://cdn.extensionanalytics.com/ (manifest.json, javascripts/feedback.js) | |
https://pixel.getpaidfordata.com/ (manifest.json, background.html) | |
https://tags.crwdcntrl.net/ (manifest.json) |
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
recent_msgs.erase( | |
std::remove_if( | |
recent_msgs.begin(), | |
recent_msgs.end(), | |
[&queue](line::Message &rm) { | |
auto r = find_if( | |
queue->begin(), | |
queue->end(), | |
[&rm](line::Message &qm) { return qm.id == rm.id; }); |
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
clc | |
lda ADDRLO | |
adc #16 | |
sta ADDRLO | |
lda ADDRHI | |
adc #0 | |
sta ADDRHI |
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
return self.hovered() ? self.hovered().index == entry.index : false | |
|| self.focusedLabelVisible() ? self.focused() ? self.focused().index == entry.index : false : false; |
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
matti@konata:~$ cat bin/ircfind | |
green='\e[1;32m' | |
clear='\e[0m' | |
for log in $(find ~/.weechat/logs -name "$(date +%Y-%m).log" | grep -v irc.server.) ; do | |
res=$(tail -n500 $log | grep -i "$@"); | |
if [[ $? == 0 ]] ; then | |
echo -e "${green}$(basename $(dirname $log))${clear}:"; | |
echo "${res}"; |
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
matti@konata:~/tmp$ echo hi > aaaa | |
matti@konata:~/tmp$ ls -l aaaa | |
-rw-r--r-- 1 matti users 3 Nov 4 03:45 aaaa | |
matti@konata:~/tmp$ >aaaa | |
matti@konata:~/tmp$ ls -l aaaa | |
-rw-r--r-- 1 matti users 0 Nov 4 03:45 aaaa |
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
// C# now | |
// Types mentioned 2 times, names mentioned 4 times | |
public class DerpController | |
{ | |
readonly ISomeService Some; | |
readonly IAnotherService Another; | |
public DerpController(ISomeService some, IAnotherService another) | |
{ |
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
#include <cstdint> | |
#include <initializer_list> | |
#include <iostream> | |
#include <sstream> | |
#include <string> | |
#include <type_traits> | |
#include <vector> | |
class Serializer { | |
private: |
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
scheme@(guile-user)> (define plus +) | |
scheme@(guile-user)> (define (test1 a b) (+ a b)) | |
scheme@(guile-user)> (define (test2 a b) (plus a b)) | |
scheme@(guile-user)> (test1 4 5) | |
$1 = 9 | |
scheme@(guile-user)> (test2 4 5) | |
$2 = 9 | |
scheme@(guile-user)> (set! + *) | |
scheme@(guile-user)> (test1 4 5) | |
$3 = 9 |
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
(define plus +) | |
(define (test1 a b) (+ a b)) | |
(define (test2 a b) (plus a b)) | |
(write (test1 4 5)) (newline) | |
(write (test2 4 5)) (newline) | |
(set! + *) | |
(write (test1 4 5)) (newline) | |
(set! plus *) | |
(write (test2 4 5)) (newline) | |
(write +) (newline) |