This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on run {input, parameters} | |
--version >= 7.99.5 | |
--use "launch application" step instead | |
--tell application "KeyRemap4MacBook" to activate | |
tell application "System Events" | |
--version >= 7.99.5 | |
tell application process "KeyRemap4MacBook" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<script> | |
var errorCallback = function(e) { | |
console.log('Rejected', e); | |
}; | |
function init(){ | |
navigator.getUserMedia = navigator.getUserMedia || | |
navigator.webkitGetUserMedia || | |
navigator.mozGetUserMedia || |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<root> | |
<!-- | |
<devicevendordef> | |
<vendorname>thinkpad_trackpoint</vendorname> | |
<vendorid>0x17ef</vendorid> | |
</devicevendordef> | |
<deviceproductdef> | |
<productname>my_thinkpad_trackpoint</productname> | |
<productid>0x6009</productid> | |
</deviceproductdef> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>7lemon custom settings</name> | |
<!-- | |
互换option键和command键(虚拟机和远程桌面除外) | |
外接键盘用。可配合"General"中的"Don't remap Apple's keyboards"使用 | |
--> | |
<item> | |
<name>Swap Option_L and Command_L</name> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let parameters = [ | |
"username": "foo", | |
"password": "123456" | |
] | |
Alamofire.request(.POST, "https://httpbin.org/post", parameters: parameters, encoding: .JSON) | |
// -> HTTP body: {"foo": [1, 2, 3], "bar": {"baz": "qux"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Mixer.swift | |
// SongProcessor | |
// | |
// Created by Pope, John on 8/10/17. | |
// Copyright © 2017 AudioKit. All rights reserved. | |
// | |
import Foundation | |
import AudioKit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### SERVER OPTIONS ### | |
## Bind Address | |
#address: HOST # Default: 0.0.0.0 | |
## Bind port. If using multiple thin servers, | |
## they will bind to (PORT + n) where n is the server number | |
#port: PORT # Default: 3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'net/http' | |
require 'net/https' | |
require 'uri' | |
uri = URI('https://example.com/rest/api/2/1') | |
Net::HTTP.start(uri.host, uri.port, | |
:use_ssl => uri.scheme == 'https', | |
:verify_mode => OpenSSL::SSL::VERIFY_NONE) do |http| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// FVRInAppPurchaseVC.swift | |
// favroutes | |
// | |
// Created by wisaruthk on 10/8/2558 BE. | |
// Copyright © 2558 kojo. All rights reserved. | |
// | |
import UIKit | |
import StoreKit |
OlderNewer