One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| /* USAGE | |
| Go to https://github.com/watching | |
| Paste this function in the console | |
| e.g. unwatchRepos("rails|node|go") | |
| That unwatches repos containing rails, node or go in the repo link. | |
| */ | |
| var unwatchRepos = (pattern) => { | |
| var list = document.getElementsByClassName('repo-list')[0] | |
| var rows = list.getElementsByClassName('js-subscription-row') |
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: |
| defmodule QuickSort do | |
| def sort([]), do: [] | |
| def sort([head|tail]) do | |
| {lesser, greater} = Enum.partition(tail, &(&1 < head)) | |
| sort(lesser) ++ [head] ++ sort(greater) | |
| end | |
| end | |
| IO.inspect QuickSort.sort([1,6,3,4,2,5]) |
| -- your_table: The table to modify | |
| -- id: The id field/column to reset | |
| SET @num := 0; | |
| UPDATE your_table SET id = @num := (@num+1); | |
| ALTER TABLE your_table AUTO_INCREMENT =1; |