translation http://www.thegeekstuff.com/2012/12/linux-tr-command/
$tr '[:upper:]' '[:lower:]' input.txt > output.txt
translation http://www.thegeekstuff.com/2012/12/linux-tr-command/
$tr '[:upper:]' '[:lower:]' input.txt > output.txt
MYSQL's note
How to get a valuation about the size of mysql table dump
http://serverfault.com/questions/411902/how-to-get-a-valuation-about-the-size-of-mysql-table-dump
By database:
SELECT table_schema 'database',
//FROM http://stackoverflow.com/questions/10796464/transfer-ownership-of-a-file-to-another-user-in-google-apps-script | |
/** | |
* Change Owner of a file or folder | |
* Run this as admin and authorise first in the script editor. | |
*/ | |
function changeOwner(newOwnerEmail, fileOrFolderId){ | |
var file = DocsList.getFileById(fileOrFolderId); | |
var oldOwnerEmail = file.getOwner().getEmail(); | |
if (oldOwnerEmail === newOwnerEmail) { |
// Created by Gumpanat Keardkeawfa on 11/14/16. | |
// Copyright © 2016 Auycro. All rights reserved. | |
using System; | |
using System.IO; | |
using System.Text; | |
namespace FileConvertCommaAsciiToChar | |
{ | |
class MainClass |
// Created by Auycro on August 22,16. | |
// Copyright © 2016 Auycro. All rights reserved. | |
public class SampleConnectAndRunQuery | |
{ | |
static string insert_sql = "INSERT INTO {0} VALUE ({1},\"{2}\")"; | |
static bool InsertData(string table, int id, string update_detail){ | |
bool result = true; | |
try { |
rect |
import android.accounts.AccountManager; | |
import android.accounts.Account; | |
public class GetAccountPlugin { | |
//CANNOT GET CORRECT PURCHASED USER'S EMAIL | |
public String GetGoogleAccountEmail(Activity activity){ | |
AccountManager manager = (AccountManager) activity.getSystemService(Context.ACCOUNT_SERVICE); | |
Account[] accounts = manager.getAccounts(); | |
//Log.d(tag, "GetGoogleAccountEmail-LENGTH " + accounts.length); | |
String strGmail = ""; |
building dll with GCC http://stackoverflow.com/questions/16332701/how-to-call-c-dll-in-c-sharp http://www.adp-gmbh.ch/cpp/gcc/create_lib.html
first we have C code
#include <stdio.h>
int
hello()
#!/bin/bash | |
# The MIT License (MIT) | |
# Copyright (c) 2013 Alvin Abad | |
# https://alvinabad.wordpress.com/2013/03/23/how-to-specify-an-ssh-key-file-with-the-git-command/ | |
# HOW TO USE:: | |
# git.sh -i ~/.ssh/userkey.pem clone [email protected]:/git/repo.git | |
if [ $# -eq 0 ]; then | |
echo "Git wrapper script that can specify an ssh-key file |