Skip to content

Instantly share code, notes, and snippets.

View bonomali's full-sized avatar

brikkho net bonomali

View GitHub Profile
@bonomali
bonomali / scp
Created May 11, 2019 19:52 — forked from jasperf/scp
Use secure copy or scp to upload and download files to the server #scp #ssh
//Uploading Using SCP
## origin > destination
scp /home/jasper/path/file user@sdomain.com:/home/username/domain.com/public_html/images/
Uploading to Ubuntu Server
scp /home/jasper/path/file user@sdomain.com:/var/www/html/
##downloading
scp root@1.2.3.4:/root/pcfilename.rar ./
##directory download
scp -r user@your.server.example.com:/path/to/foo /home/user/Desktop/
public class Genero
{
public int Id { get; set; }
public string Nombre { get; set; }
public string Descripcion { get; set; }
public virtual IEnumerable<Videojuego> Videojuegos { get; set; }
}
var character = "adam"; // change to "adam", "bob" , "eve" , or "rocky" depending on who you want to start with.
$('#char_creator_client').flash({
id: "char_creator",
swf: "https://d3v4eglovri8yt.cloudfront.net/animation/414827163ad4eb60/cc.swf",
height: 600,
width: 960,
align: "middle",
allowScriptAccess: "always",
var character = "adam"; // change to "adam", "bob" , "eve" , or "rocky" depending on who you want to start with.
$('#char_creator_client').flash({
id: "char_creator",
swf: "https://d3v4eglovri8yt.cloudfront.net/animation/414827163ad4eb60/cc.swf",
height: 600,
width: 960,
align: "middle",
allowScriptAccess: "always",
@bonomali
bonomali / external scripts
Created September 29, 2019 12:47 — forked from CodeMyUI/external scripts
login page
https://code.jquery.com/jquery-2.2.4.min.js
<div class="md-tab-header" role="tablist"
(keydown.arrowRight)="focusNextTab()"
(keydown.arrowLeft)="focusPreviousTab()"
(keydown.enter)="selectedIndex = focusIndex">
<div class="md-tab-label" role="tab" md-tab-label-wrapper
*ngFor="let tab of _tabs; let i = index"
[id]="_getTabLabelId(i)"
[tabIndex]="selectedIndex == i ? 0 : -1"
[attr.aria-controls]="_getTabContentId(i)"
[attr.aria-selected]="selectedIndex == i"
@bonomali
bonomali / Core files
Created October 24, 2019 02:00 — forked from pi0/Core files
Google translate Offline Language Files
https://dl.google.com/translate/offline/v3/r1/c.zip
https://dl.google.com/translate/offline/v3/r1/profiles.txt
<?php
define('BOT_TOKEN', 'XXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXX'); // place bot token of your bot here
function checkTelegramAuthorization($auth_data) {
$check_hash = $auth_data['hash'];
unset($auth_data['hash']);
$data_check_arr = [];
foreach ($auth_data as $key => $value) {
$data_check_arr[] = $key . '=' . $value;
@bonomali
bonomali / footer-backup
Created February 3, 2020 08:22 — forked from jamesray1/footer-backup
footer-backup