To run this, you can try:
curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh
chmod +x ./uninstall-node.sh
./uninstall-node.sh
rm uninstall-node.sh
To run this, you can try:
curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh
chmod +x ./uninstall-node.sh
./uninstall-node.sh
rm uninstall-node.sh
| <?php | |
| // Set these dependant on your BB credentials | |
| $username = 'username'; | |
| $password = 'password'; | |
| // Grab the data from BB's POST service and decode | |
| $json = stripslashes($_POST['payload']); | |
| $data = json_decode($json); |
This article has been given a more permanent home on my blog. Also, since it was first written, the development of the Promises/A+ specification has made the original emphasis on Promises/A seem somewhat outdated.
Promises are a software abstraction that makes working with asynchronous operations much more pleasant. In the most basic definition, your code will move from continuation-passing style:
getTweetsFor("domenic", function (err, results) {
// the rest of your code goes here.git config --global user.name "Name"git config --global user.email "[email protected]"git config --global color.ui autogit init newprojectI've been finding this little meta[name='tmpl'] pattern useful lately when making template-based decisions in JS, such as when loading a particular file or set of files that are needed only on a particular page of a site.
First, in the HTML of a particular template, like say, a search result page:
<head>
...
<meta name="tmpl" content="searchresult">
</head>
| <?php | |
| // Set these dependant on your BB credentials | |
| $username = 'username'; | |
| $password = 'password'; | |
| $branch = 'master'; | |
| // FTP Credentials |
| chrome.windows.getAll({populate: true}, function(allWindows) | |
| { | |
| console.log(allWindows); | |
| }); |
Boombot - https://github.com/TerrordactylDesigns/boombot Chillybot - https://github.com/samuri51/chillybot CMBot - https://github.com/atomjack/cmbot Hashtag Amy - https://github.com/yayramen/hashtag-amy PostRockAndBeyond - https://github.com/swerner/PostRockAndBeyond Robo DJ - https://github.com/mmattozzi/robodj Sparkle Bot - https://github.com/sharedferret/Sparkle-Turntable-Bot Taco Bot - https://github.com/funkytaco/Turntable-API-Taco-Bot
| <%@ Page Language="C#" %> | |
| <%@ Import Namespace="System.Web.Security" %> | |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <script runat="server"> | |
| public void Login_OnClick(object sender, EventArgs args) | |
| { | |
| if (FormsAuthentication.Authenticate(UsernameTextbox.Text, PasswordTextbox.Text)) | |
| FormsAuthentication.RedirectFromLoginPage(UsernameTextbox.Text, NotPublicCheckBox.Checked); |
| module.exports = function(grunt) { | |
| "use strict"; | |
| // ------------------------------------------------------------------------- | |
| // #### Load plugins as needed #### | |
| // Using a 'just in time' approach -- meaning: only load plugins when they | |
| // are needed -- this will automatically find, then load, any and all | |
| // plugins that are needed by the task currently being executed. It will | |
| // scan the devDependencies object, in package.json, and match any of the |