emacs --daemon
to run in the background.
emacsclient.emacs24 <filename/dirname>
to open in terminal
NOTE: "M-m and SPC can be used interchangeably".
- Undo -
C-/
- Redo -
C-?
- Change case: 1. Camel Case :
M-c
2. Upper Case :M-u
- Lower Case :
M-l
emacs --daemon
to run in the background.
emacsclient.emacs24 <filename/dirname>
to open in terminal
NOTE: "M-m and SPC can be used interchangeably".
C-/
C-?
M-c
2. Upper Case : M-u
M-l
/* | |
The MIT License (MIT) | |
Copyright (c) 2016 David Gomez-Urquiza | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
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 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
# coding: utf-8 | |
import json | |
import logging | |
import requests | |
BASE_URL = "https://api.vineapp.com/" | |
class VineError(Exception): |
At Deal Engine we strive on automating and optimizing processes in an industry that has been stagnant for several decades - the travel industry.
We solve these and more pains! We work alongside airlines (e.g. LATAM airlines) and online travel agencies (e.g. Despegar) and operate in 18 countries (across 3 continents), managing over $4 billion dollars in flight tickets. We are on a mission to become the most efficient and transparent backbone of the travel industry.
#!/usr/bin/env python | |
""" | |
Inject inverting css | |
Usage: | |
inverted_internet | |
""" | |
from libmproxy import controller, proxy | |
import os | |
import sys |
Given that it is kind of tricky to know how to read data from accounts, it would be really useful to have an "Account Codec Program" as a central repository of Program Accounts type schemas.
I'm thinking with this program you could register Program Account schemas to know what format to use to Decode them. As an analogy, its like storing the Anchor's IDL on chain, or also akin to how the Metaplex Metadata Token program is the standard where you define metadata for an NFT Mint
E.g.
Some program's account:
declare_id!("SomeProgramPubkey987654321")
struct Person {
diff --git a/tests/misc/programs/misc/src/context.rs b/tests/misc/programs/misc/src/context.rs | |
index a095fdf..284833e 100644 | |
--- a/tests/misc/programs/misc/src/context.rs | |
+++ b/tests/misc/programs/misc/src/context.rs | |
@@ -49,6 +49,17 @@ pub struct TestInitAssociatedToken<'info> { | |
pub associated_token_program: Program<'info, AssociatedToken>, | |
} | |
+#[derive(Accounts)] | |
+pub struct TestValidateAssociatedToken<'info> { |
(ns courjera.core | |
(:require [clj-http.client :as client] | |
[clojure.data.json :as json] | |
[clojure.string :as string] | |
[clj-time.core :as t] | |
[clj-time.format :as f] | |
[courjera.models :as m] | |
[clojure.java.io :as io])) | |
(System/setProperty "https.proxyHost" "localhost") |