I hereby claim:
- I am aarvay on github.
- I am aarvay (https://keybase.io/aarvay) on keybase.
- I have a public key ASDb9ANRc9gL3VzFa40siebRVVRvgSS6YQTaJH9ZYEiuHwo
To claim this, I am signing this object:
| //! AES-CCM (Counter with CBC-MAC) authenticated encryption. | |
| //! | |
| //! References: | |
| //! - NIST SP 800-38C: https://csrc.nist.gov/publications/detail/sp/800-38c/final | |
| //! - RFC 3610: https://datatracker.ietf.org/doc/html/rfc3610 | |
| const std = @import("std"); | |
| const crypto = std.crypto; | |
| const mem = std.mem; | |
| const Allocator = mem.Allocator; |
| function Heap(data = [], compare = (a, b) => a < b) { | |
| const heap = [null]; | |
| const size = () => heap.length - 1; | |
| const leftIdx = (i) => i * 2 | |
| const rightIdx = (i) => i * 2 + 1 | |
| const parentIdx = (i) => Math.floor(i / 2); | |
| const left = (i) => heap[leftIdx(i)]; | |
| const right = (i) => heap[rightIdx(i)]; |
I hereby claim:
To claim this, I am signing this object:
| defmodule Payment do | |
| @derive {Poison.Encoder, except: [:entity, :order_id]} | |
| defstruct [:id, :amount, :currency, :status, :method, :description, | |
| :refund_status, :amount_refunded, :email, :contact, :fee, :service_tax, | |
| :error_code, :error_description, :notes, :created_at] | |
| end | |
| defmodule Collection do | |
| @derive {Poison.Encoder, except: [:entity]} |
| { | |
| "kind": "Document", | |
| "loc": { | |
| "start": 1, | |
| "end": 2 | |
| }, | |
| "definitions": [ | |
| { | |
| "kind": "OperationDefinition", | |
| "loc": { |
| Build settings from command line: | |
| CONFIGURATION_BUILD_DIR = /private/tmp/poison-FL5b/Poison/__build | |
| === BUILD TARGET DeepEnd OF PROJECT DeepEnd WITH CONFIGURATION Release === | |
| Check dependencies | |
| Write auxiliary files | |
| /bin/mkdir -p /Users/vignesh/Library/Developer/Xcode/DerivedData/Poison-fibuybwdaxbditdgbhpcalqdofrs/Build/Intermediates/DeepEnd.build/Release/DeepEnd.build | |
| write-file /Users/vignesh/Library/Developer/Xcode/DerivedData/Poison-fibuybwdaxbditdgbhpcalqdofrs/Build/Intermediates/DeepEnd.build/Release/DeepEnd.build/DeepEnd-project-headers.hmap |
| --- load-head.c 2012-03-27 11:29:29.000000000 +0530 | |
| +++ load.c 2012-03-27 11:26:22.000000000 +0530 | |
| @@ -4,21 +4,19 @@ | |
| #include "ruby/ruby.h" | |
| #include "ruby/util.h" | |
| -#include "internal.h" | |
| #include "dln.h" | |
| #include "eval_intern.h" | |
| - |
| # When requiring 10K files ruby slows down like shit. | |
| # Ruby before loading a file wants to make sure it's not already require'd. | |
| # To do that it loops through a variable called $" and checks if this file is require'd. | |
| class FileRequiredTest | |
| PATH = "./hackathon/test/gen" | |
| def main | |
| `mkdir -p #{PATH} &2>1` |
| <?php | |
| require_once('pwi/phpQuery.php'); //Including phpQuery Library | |
| /** | |
| * The input for the REST api is got via "GET" | |
| */ | |
| $pnr1 = $_GET['pnr1']; //The first 3 digits of your PNR | |
| $pnr2 = $_GET['pnr2']; //Remaining digits |
| #!/bin/bash | |
| #Script to switch between the orginal git account and the fake one. | |
| #Setup | |
| #===== | |
| # Have two folders named "key_backup" and "fake_backup" in ~/.ssh/ | |
| # The original account's pubkey will be stored in key_backup/ and fake account's in fake_backup/ | |
| # --Aarvay | |
| [ "$(ls -A ~/.ssh/fake_backup)" ] && { mv ~/.ssh/id_rsa* ~/.ssh/key_backup/; mv ~/.ssh/fake_backup/id_rsa* ~/.ssh/; echo "Switched to Fake Account!"; } || { mv ~/.ssh/id_rsa* ~/.ssh/fake_backup/; mv ~/.ssh/key_backup/id_rsa* ~/.ssh/; echo "Switched to Original Account!"; } |