I hereby claim:
- I am guionardo on github.
- I am guionardo (https://keybase.io/guionardo) on keybase.
- I have a public key ASCsP5sZ2wY21-ZHaJevW-pDvr6yFUpfSiTBHbfYbT9Ttwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
npm -v in a terminal window.npm install -g react-native-cli| [DllImport("user32.dll", EntryPoint = "FindWindow", SetLastError = true)] | |
| static extern IntPtr FindWindowByCaption(IntPtr ZeroOnly, string lpWindowName); | |
| [DllImport("user32.Dll")] | |
| static extern int PostMessage(IntPtr hWnd, UInt32 msg, int wParam, int lParam); | |
| public static void MessageBox(string Text, string Caption = "", int timeOut = 0) | |
| { | |
| if (Caption.Length == 0) | |
| Caption = "MessageBox"; |
| #!/bin/python | |
| n1=int(input("digite numero :")) | |
| n2=int(input("digite numero :")) | |
| oper=input("digite soma = +,subtração = -,multiplicação = *,divisao = /:") | |
| #soma | |
| if (oper=="+"): | |
| print("resultado = ",n1+n2) |
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| case $- in | |
| *i*) ;; | |
| *) return;; | |
| esac |
| @Singleton | |
| class DBConnection(object): | |
| def __init__(self): | |
| """Initialize your database connection here.""" | |
| pass | |
| def __str__(self): | |
| return 'Database connection object' | |
| from collections.abc import Iterable | |
| class BusList(list): | |
| """ Bus (FIFO) list | |
| """ | |
| def __init__(self, *args): | |
| self._max_length = 0 | |
| for arg in args: |
| # The MIT License (MIT) | |
| # Copyright (c) 2016 Vladimir Ignatev | |
| # | |
| # 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: | |
| # |
| #!/usr/bin/env bash | |
| # With this tool you can delete files using a mask, but keeping some files | |
| # I've wrote this tool to house keep log files | |
| # Usage: bash delete_old.sh <number of files to keep> "folder/mask" | |
| # If you use mask like * or ? in your command, add quotes to prevent enumeration | |
| keep=$(($1)) | |
| folder=${2:-...} |
| <?php | |
| function permutations($pool, $r = null) { | |
| $n = count($pool); | |
| if ($r == null) { | |
| $r = $n; | |
| } | |
| if ($r > $n) { | |
| return; |