A Pen by Oliver Knoblich on CodePen.
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
| <?php | |
| test |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
Quick uninstall JetBrains settings:
curl -sL https://gist.github.com/denji/9731967/raw/jetbrains-uninstall.sh | sudo bash -s
Quick uninstall JetBrains settings:
curl -sL https://gist.github.com/denji/9731967/raw/jetbrains-uninstall.sh | sudo bash -s
Assumes a fresh install of Ubuntu 12.04 LTS.
-
Setup the system to handle compiling and installing from source.
$ sudo apt-get install build-essential -
If SSL support is needed then we will need to install
libssl-dev.$ sudo apt-get install libssl-dev
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
| //www.lsauer.com 2012 | |
| //Answer to: | |
| //http://stackoverflow.com/questions/881085/count-the-number-of-occurances-of-a-character-in-a-string-in-javascript/10671743#10671743 | |
| //There are at least four ways. The best option, which should also be the fastest -owing to the native RegEx engine -, is placed at the top. //jsperf.com is currently down, otherwise I would provide you with performance statistics. | |
| #1. | |
| ("this is foo bar".match(/o/g)||[]).length | |
| //>2 | |
| #2. | |
| "this is foo bar".split("o").length-1 |
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
| В России разруха и анархия, страна медленно разваливается и никто ни чего не может с этим поделать. Что бы спасти страну решили ученые клонировать Сталина. | |
| Ну, очнулся отец народов, оглядел блядство, что вокруг творилось и сказал: | |
| - Товарищи, что бы спасти страну я имею 2 предложения: | |
| Первое - расстрелять правительство в полном составе. Второе - перекрасить кремль в зеленый цвет. | |
| Кто-то не вытерпел и спрашивает: | |
| - Товарищ Сталин, а кремль то зачем в зеленый перекрашивать? | |
| Сталин с ухмылкой ответил: | |
| - Я так и думал, что по первому пункту у нас разногласий не возникнет. |
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
| ּ_בּ | |
| בּ_בּ | |
| טּ_טּ | |
| כּ‗כּ | |
| לּ_לּ | |
| מּ_מּ | |
| סּ_סּ | |
| תּ_תּ | |
| ٩(×̯×)۶ | |
| ٩(̾●̮̮̃̾•̃̾)۶ |
OlderNewer