Erlang
sudo apt-get install erlang
Elixir
Windows 7 All Online/Offline [Retail-MAK] Activation Keys | |
================================================================================= | |
. Run "Command Prompt" as Administrator | |
. slmgr.vbs -ipk Product Key | |
. slui4 | |
================================================================================= | |
Windows 7 Ultimate Retail Phone Activation Keys | |
RHTBY-VWY6D-QJRJ9-JGQ3X-Q2289 | |
V77DJ-CT8WB-Y3GXT-X3FBP-6F987 | |
JC7BV-94FD2-D86PH-XRMHR-BXKDG |
def extract(changeset) do | |
file_name = changeset.data.name | |
data = File.read!("#{@data_folder}/pages/#{file_name}") | |
case String.split(data, ~r/\n-{3,}\n/, parts: 2) do | |
[""] -> | |
%{frontmatter: nil, content: nil} | |
[frontmatter, content] -> | |
%{ | |
frontmatter: parse_yaml(frontmatter), | |
content: content |
defp find_in_combinations(combinations, element) do | |
Enum.reduce(combinations, [], fn(c, acc) -> | |
# A dynamic way to access c.element (Eg. c.engine) | |
if Map.get(c, element) do | |
acc ++ [Map.get(c, element)] | |
else | |
acc | |
end | |
end) | |
end |
This tutorial was created by Shopify for internal purposes. We've created a public version of it since we think it's useful to anyone creating a GraphQL API.
It's based on lessons learned from creating and evolving production schemas at Shopify over almost 3 years. The tutorial has evolved and will continue to change in the future so nothing is set in stone.
defmodule AppName.IpnController do | |
@moduledoc """ | |
IPN Controller. | |
""" | |
use AppName.Web, :controller | |
def create(conn, params) do | |
# PayPal requires the params returned in the exact order given. | |
# The map needs to be a list. encode/1 keep the order of a list, |
# -*- coding: utf-8 -*- | |
""" | |
flask.globals | |
~~~~~~~~~~~~~ | |
Defines all the global objects that are proxies to the current | |
active context. | |
:copyright: © 2010 by the Pallets team. | |
:license: BSD, see LICENSE for more details. | |
""" |
class DriveAPI | |
include HTTParty | |
base_uri 'https://www.googleapis.com' | |
#for debugging | |
debug_output $stdout | |
end | |
def create_file(file_name, parent_id) | |
check_token! | |
access_token = current_user.access_token |
package mux | |
import ( | |
"net/http" | |
"strings" | |
) | |
// MiddlewareFunc is a function which receives an http.Handler and returns another http.Handler. | |
// Typically, the returned handler is a closure which does something with the http.ResponseWriter and http.Request passed | |
// to it, and then calls the handler passed as parameter to the MiddlewareFunc. |
/* | |
* Copyright (C) 2009-2018 Lightbend Inc. <https://www.lightbend.com> | |
*/ | |
package play.api.cache.caffeine | |
import java.util.concurrent.TimeUnit | |
import javax.inject.{ Inject, Provider, Singleton } | |
import javax.cache.CacheException |