- Plain Strings (207):
foo - Anchors (208):
k$ - Ranges (202):
^[a-f]*$ - Backrefs (201):
(...).*\1 - Abba (169):
^(.(?!(ll|ss|mm|rr|tt|ff|cc|bb)))*$|^n|ef - A man, a plan (177):
^(.)[^p].*\1$ - Prime (286):
^(?!(..+)\1+$) - Four (199):
(.)(.\1){3} - Order (198):
^[^o].....?$ - Triples (507):
(^39|^44)|(^([0369]|([147][0369]*[258])|(([258]|[147][0369]*[147])([0369]*|[258][0369]*[147])([147]|[258][0369]*[258])))*$)
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 | |
| //Options | |
| $token = 'YOUR_TOKEN_HERE'; | |
| $domain = 'YOUR_SLACK_DOMAIN_GOES_HERE'; | |
| $channel = '#general'; | |
| $bot_name = 'Webhook'; | |
| $icon = ':alien:'; | |
| $message = 'Your message'; |
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
| [user] | |
| name = Pavan Kumar Sunkara | |
| email = [email protected] | |
| [core] | |
| editor = vim | |
| whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| excludesfile = ~/.gitignore | |
| [sendemail] | |
| smtpencryption = tls | |
| smtpserver = smtp.gmail.com |
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
| source ~/.git-prompt.sh | |
| ####### COLORS ####### | |
| Color_Off='\e[0m' # Text Reset | |
| # Regular Colors | |
| Black='\e[0;30m' # Black | |
| Red='\e[0;31m' # Red | |
| Green='\e[0;32m' # Green | |
| Yellow='\e[0;33m' # Yellow |
Related tutorial: http://cd64.de/mysql-cli
SQL joins infografic: http://cd64.de/sql-joins
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
| # -*- encoding: utf-8 -*- | |
| from __future__ import unicode_literals | |
| import requests | |
| from requests_oauthlib import OAuth1 | |
| from urlparse import parse_qs | |
| REQUEST_TOKEN_URL = "https://api.twitter.com/oauth/request_token" | |
| AUTHORIZE_URL = "https://api.twitter.com/oauth/authorize?oauth_token=" | |
| ACCESS_TOKEN_URL = "https://api.twitter.com/oauth/access_token" |
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
| # -*- encoding: utf-8 -*- | |
| from __future__ import unicode_literals | |
| import requests | |
| from requests_oauthlib import OAuth1 | |
| from urlparse import parse_qs | |
| REQUEST_TOKEN_URL = "https://api.twitter.com/oauth/request_token" | |
| AUTHORIZE_URL = "https://api.twitter.com/oauth/authorize?oauth_token=" | |
| ACCESS_TOKEN_URL = "https://api.twitter.com/oauth/access_token" |
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 |
NewerOlder