I hereby claim:
- I am petersonfs on github.
- I am petersonfs (https://keybase.io/petersonfs) on keybase.
- I have a public key whose fingerprint is 06BF FC55 DC93 08F3 9819 51B6 BADB 01A0 F04D 7007
To claim this, I am signing this object:
| workflow "Demo workflow" { | |
| on = "push" | |
| resolves = ["SNS Notification"] | |
| } | |
| action "Build Image" { | |
| uses = "actions/docker/cli@c08a5fc9e0286844156fefff2c141072048141f6" | |
| runs = ["/bin/sh", "-c", "docker build -t $IMAGE_URI ."] | |
| env = { | |
| IMAGE_URI = "xxxxxxxx.dkr.ecr.ap-northeast-1.amazonaws.com/github-action-demo:latest" |
I hereby claim:
To claim this, I am signing this object:
Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.
This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.
You are encouraged to fork this and modify it to your heart's content to match your own needs.
| static void loopTableFields(Args _args) | |
| { | |
| SysDictTable dictTable = new SysDictTable(tableNum(PurchLine)); | |
| SysDictField dictField; | |
| TreeNode treeNode; | |
| FieldId fieldId = dictTable.fieldNext(0); | |
| while (fieldId) | |
| { | |
| dictField = dictTable.fieldObject(fieldId); |
| static void recalcInventSum(Args _args) | |
| { | |
| InventSumRecalcItem inventSumRecalcItem; | |
| InventTable inventTable; | |
| while select inventTable | |
| where (inventTable.ItemType == ItemType::Item) | |
| || inventTable.ItemType == ItemType::BOM) | |
| { | |
| inventSumRecalcItem = new InventSumRecalcItem(inventTable.ItemId, true, CheckFix::Fix); |
| static void ledgerBalanceTrialDebug(Args _args) | |
| { | |
| LedgerTrialBalanceDP_BR ledgerTrialBalanceDP; | |
| LedgerTrialBalanceContract_BR ledgerTrialBalanceContract; | |
| ; | |
| ledgerTrialBalanceContract = new LedgerTrialBalanceContract_BR(); | |
| ledgerTrialBalanceContract.parmFromDate(mkdate(01, 01, 2011)); | |
| ledgerTrialBalanceContract.parmToDate(mkdate(31, 12, 2011)); | |
| ledgerTrialBalanceContract.parmPrimaryDimensionFocus("Conta"); |
| protected void preRunModifyContract() | |
| { | |
| SrsReportDataContract contract; | |
| SrsReportEMailDataContract emailContract; | |
| SRSPrintDestinationSettings printSettings; | |
| emailContract = new SrsReportEMailDataContract(); | |
| emailContract.parmAttachmentFileFormat(SRSReportFileFormat::Excel); | |
| emailContract.parmTo(this.getEmail()); | |
| emailContract.parmCc(this.getCC()); |
| WebClient c = new WebClient(); | |
| var data = c.DownloadString("https://www.mercadobitcoin.com.br/api/trades_litecoin/"); | |
| var jaison = JsonConvert.DeserializeObject<List<Trades>>(data); | |
| textBox1.Text = jaison.First().amount.ToString(); | |
| textBox2.Text = jaison.First().date.ToString(); | |
| textBox3.Text = jaison.First().price.ToString(); | |
| textBox4.Text = jaison.First().tid.ToString(); |
| # Nginx+Unicorn best-practices congifuration guide. Now with SPDY! | |
| # We use latest stable nginx with fresh **openssl**, **zlib** and **pcre** dependencies. | |
| # Some extra handy modules to use: --with-http_stub_status_module --with-http_gzip_static_module | |
| # | |
| # Deployment structure | |
| # | |
| # SERVER: | |
| # /etc/init.d/nginx (1. nginx) | |
| # /home/app/public_html/app_production/current (Capistrano directory) | |
| # |
| void run() | |
| { | |
| //Void method with a variable called ret | |
| str ret; | |
| Args args; | |
| ; | |
| if (this.validate()) | |
| { | |
| ttsbegin; |