Local docs using BASH
ri upcase # documents for upcase method
# Compile nginx standalone without root access | |
mkdir ~/installed | |
mkdir ~/installed/nginx | |
mkdir ~/src | |
cd ~/src | |
# PCRE dependency - we'll compile against this statically | |
wget http://kent.dl.sourceforge.net/sourceforge/pcre/pcre-7.8.tar.gz | |
tar -xzvf pcre-7.8.tar.gz |
Local docs using BASH
ri upcase # documents for upcase method
puts Solution.new('1. Fizz Buzz', <<SOLUTION) | |
def fizzbuzz(n)(n%15==0?'FizzBuzz':n%3==0?'Fizz':n%5==0?'Buzz':n).to_s end | |
SOLUTION | |
.test { fizzbuzz 3 }.expect { |result| result == "Fizz" } | |
.test { fizzbuzz 10 }.expect { |result| result == "Buzz" } | |
.test { fizzbuzz 45 }.expect { |result| result == "FizzBuzz" } | |
.test { fizzbuzz 31 }.expect { |result| result == "31" } |
for (var i=1; i <= 20; i++) | |
{ | |
if (i % 15 == 0) | |
console.log("FizzBuzz"); | |
else if (i % 3 == 0) | |
console.log("Fizz"); | |
else if (i % 5 == 0) | |
console.log("Buzz"); | |
else | |
console.log(i); |
The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 21 Sep 2022 till Thu, 21 Sep 2023.
Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:
githubUsers
.filter(user => user.followers > 1000)
struct group_info init_groups = { .usage = ATOMIC_INIT(2) }; | |
struct group_info *groups_alloc(int gidsetsize){ | |
struct group_info *group_info; | |
int nblocks; |
Version 2.2 | |
begin_group_backup | |
group_start | |
RemoveScript from HTML | |
<SCRIPT | |
<!-- SCRIPT> | |
</SCRIPT> | |
</SCRIPT>--> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Bruteforce!</title> | |
</head> | |
<body> | |
<script> | |
var password = '89p8zk', | |
passwordLength = 4, |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
<!doctype html> | |
<html> | |
<head> | |
<script type="text/javascript" src="vcard2.js"></script> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
// With helper methods | |
var fooBar = vCard.create(vCard.Version.FOUR) | |
fooBar.addFormattedname("Mr Foo Bar") |