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
| # http://henrik.nyh.se/2008/12/git-dirty-prompt | |
| # http://www.simplisticcomplexity.com/2008/03/13/show-your-git-branch-name-in-your-prompt/ | |
| # | |
| # boosty likes it like that: | |
| # ~/dev/dir[master]$ # clean working directory | |
| # ~/dev/dir[master⚡]$ # dirty working directory | |
| function parse_git_dirty { | |
| [[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "⚡" | |
| } |
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
| require 'rubygems' | |
| require 'mongo' | |
| require 'benchmark' | |
| conn = Mongo::Connection.new | |
| db = conn.db("mydb") | |
| coll = db["test"] | |
| # time = Benchmark.realtime do | |
| # 1_000_000.times do |
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
| tell application "Skype" | |
| send command "SET USERSTATUS DND" script name "pomodoro" | |
| end tell | |
| tell application "Mail" to quit | |
| tell application "Tweetie" to quit |
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
| From PrivateFrameworks/Bom.framework: | |
| U _BOMCopierCopyWithOptions | |
| U _BOMCopierCountFilesInArchive | |
| U _BOMCopierFree | |
| U _BOMCopierNew | |
| U _BOMCopierSetCopyFileFinishedHandler | |
| U _BOMCopierSetCopyFileStartedHandler | |
| U _BOMCopierSetCopyFileUpdateHandler | |
| U _BOMCopierSetFatalErrorHandler | |
| U _BOMCopierSetFatalFileErrorHandler |
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
| #!/usr/bin/perl | |
| =com | |
| PURPOSE | |
| This script will | |
| Force you through a comprehensive quality-control checklist | |
| Run Deploymate | |
| Get the latest version number by reading it from product's Info.plist |
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
| /** | |
| * The examples provided by Facebook are for non-commercial testing and | |
| * evaluation purposes only. | |
| * | |
| * Facebook reserves all rights not expressly granted. | |
| * | |
| * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | |
| * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| * FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL | |
| * FACEBOOK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN |
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
| <br /><br /> | |
| # React Native: Animated | |
| ReactEurope 2015, Paris - Spencer Ahrens - Facebook | |
| <br /><br /> | |
| ## Fluid Interactions | |
| - People expect smooth, delightful experiences |
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
| map $http_upgrade $connection_upgrade { | |
| default upgrade; | |
| '' close; | |
| } | |
| server { | |
| listen 80; | |
| listen [::]:80; | |
| server_name example.com; | |
| return 301 https://$host$request_uri; |
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
| --- | |
| format_version: 1.1.0 | |
| default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
| trigger_map: | |
| - push_branch: qa | |
| workflow: qa | |
| workflows: | |
| _init_install: | |
| steps: | |
| - activate-ssh-key: |
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
| --- | |
| format_version: 1.1.0 | |
| default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
| app: | |
| envs: | |
| - BITRISE_PROJECT_PATH: ios/pro_mobile.xcodeproj | |
| opts: | |
| is_expand: false | |
| - BITRISE_SCHEME: pro_mobile | |
| opts: |
OlderNewer