As configured in my dotfiles.
start new:
tmux
start new with session name:
[self.apiClient retrieveConnectedServicesWithSuccessBlock:^(NSDictionary *services) { | |
NSArray *facebookTokens = services[@"facebook"]; | |
if (facebookTokens.count == 0) { | |
return; | |
} | |
NSDictionary *mostRecentFacebookTokenDict = facebookTokens[0]; | |
NSNumber *refreshTimeNumber = mostRecentFacebookTokenDict[@"refreshTime"]; | |
NSDate *refreshDate = [NSDate dateWithTimeIntervalSince1970:[refreshTimeNumber doubleValue]]; |
#import <UIKit/UIKit.h> | |
@interface TestTwoController : UIViewController <UITextFieldDelegate,UIPickerViewDataSource,UIPickerViewDelegate> | |
@end |
#!/bin/bash | |
# default group size (no grouping) | |
group_size=-1 | |
# required to deal with file names containing blanks | |
OIFS="$IFS" | |
IFS=$'\n' | |
# parsing the -g command line argument |
1. Install rmate in your remote server (https://github.com/aurora/rmate) | |
sudo wget -O /usr/local/bin/rmate https://raw.github.com/aurora/rmate/master/rmate | |
sudo chmod a+x /usr/local/bin/rmate | |
2. Run "rmate <filename_to_edit>" command in your remote terminal, | |
and it will open the file locally in Sublime (make sure Sublime is already open on | |
your laptop before issuing the above command). | |
3. In order for this to work you must first do the following on your laptop: | |
#!/bin/bash | |
# | |
# Initial script to create users when launching an Ubuntu server EC2 instance | |
# | |
declare -A USERKEY | |
# | |
# Create one entry for every user who needs access. Be sure to change the key to their |
#!/usr/bin/env python | |
# usages: python delete_the_versioned_s3_bucket.py -b <YOUR BUCKET NAME> | |
import boto3, argparse, sys | |
def delete_the_versioned_s3_bucket(): | |
# setup commond line arguments | |
parser = argparse.ArgumentParser() |
As configured in my dotfiles.
start new:
tmux
start new with session name:
{ | |
"Microsoft.DataFactory/factories/pipelines": { | |
}, | |
"Microsoft.DataFactory/factories/integrationRuntimes":{ | |
"properties": { | |
"typeProperties": { | |
"ssisProperties": { | |
"catalogInfo": { | |
"catalogServerEndpoint": "=", | |
"catalogAdminUserName": "=", |
Tutorial and tips for GitHub Actions workflows