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
' Important: It is helpful to send the contents of the | |
' sftp.LastErrorText property when requesting support. | |
Dim sftp As New Chilkat.SFtp | |
' Any string automatically begins a fully-functional 30-day trial. | |
Dim success As Boolean = sftp.UnlockComponent("Anything for 30-day trial") | |
If (success <> True) Then | |
Console.WriteLine(sftp.LastErrorText) | |
Exit Sub |
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
import java.io.File; | |
import java.io.FileReader; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
import java.util.Iterator; | |
import java.util.List; | |
import com.thoughtworks.xstream.XStream; | |
public final class XStreamTranslator { | |
private XStream xstream = null; |
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
/*! | |
========================================================= | |
* Light Bootstrap Dashboard - v1.3.1.0 | |
========================================================= | |
* Product Page: http://www.creative-tim.com/product/light-bootstrap-dashboard | |
* Copyright 2017 Creative Tim (http://www.creative-tim.com) | |
* Licensed under MIT (https://github.com/creativetimofficial/light-bootstrap-dashboard/blob/master/LICENSE.md) | |
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
@font-face { | |
font-family: 'Pe-icon-7-stroke'; | |
src:url('../fonts/Pe-icon-7-stroke.eot?d7yf1v'); | |
src:url('../fonts/Pe-icon-7-stroke.eot?#iefixd7yf1v') format('embedded-opentype'), | |
url('../fonts/Pe-icon-7-stroke.woff?d7yf1v') format('woff'), | |
url('../fonts/Pe-icon-7-stroke.ttf?d7yf1v') format('truetype'), | |
url('../fonts/Pe-icon-7-stroke.svg?d7yf1v#Pe-icon-7-stroke') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} |
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
//spam_bot per www.segnalatac.it per form senza captcha | |
//#HO TO: | |
//npm install requestify | |
//node spam_bot_sa.js | |
var richiesta=require('requestify'); | |
let i = 0; | |
var messaggio='ciao'; | |
let delaywaiting=1000; | |
function richiestaRicorsiva(i) { | |
setTimeout(() => { |
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
export PATH=$PATH:/opt/PostgreSQL/10/pgAdmin\ 4/bin |
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
extends layout | |
block content | |
form(action='/login' method='post') | |
p User: | |
input(type='text' name='user' required) | |
p Password: | |
input(type='password' name='password' required) | |
p | |
button(type='submit') Accedi |
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
//includo libreria | |
var mialib=require('./posizione-libreria.js'); | |
//chiamo una funzione sincrona | |
var risultato1=mialib.miafunzione(1,2) | |
//chiamo una funzione asincrona | |
var risultato2; | |
mialib.funzioneasync(1,2,function(risultato){ | |
risultato2=risultato; | |
}); |
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
//necessari moment e reques come moduli! | |
router.get('/tokenfromfblogin', function (req, res) { | |
var exp=moment().add(1, 'days').valueOf(); | |
var token = req.headers['fbtoken']; //passo nell'header il toke facecbook dellutente | |
const options = { | |
method: 'GET', | |
uri: `https://graph.facebook.com/v2.11/me?fields=id,name,email`, | |
qs: { | |
access_token: token, | |
} |
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
var rp = require('request-promise'); | |
var absolute_path="http://api.cineprime.it" | |
var richiesta={}; | |
richiesta.simple=function(url,header,callback){ | |
var options = { | |
uri: absolute_path+url, | |
headers: header, | |
json: true | |
}; |
OlderNewer