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
[{"id":0,"title":"PaperGalaxy","author":"M.D.Prins","year":"2007","pages":"128"},{"id":0,"title":"TheChemicalEvolutionoftheGalaxy","author":"FrancescaMatteucci","year":"2003-10-31","pages":"285"},{"id":0,"title":"ThePeoplesoftheGalaxy","author":"FalcoTarassaco","year":"2017-03-23","pages":"62"},{"id":0,"title":"TheCocktailGuidetotheGalaxy","author":"AndyHeidel","year":"2017-09-26","pages":"240"},{"id":0,"title":"Galaxymagazine","author":"DavidL.Rosheim","year":"1986-06-01","pages":"343"},{"id":0,"title":"SamsungGalaxyS7:ForBeginners","author":"VanHelostein","year":"2016-05-09","pages":"40"},{"id":0,"title":"TheCentralRegionsoftheGalaxyandGalaxies","author":"InternationalAstronomicalUnion.Symposium","year":"1998-08-31","pages":"521"},{"id":0,"title":"StatisticsoftheGalaxyDistribution","author":"VicentJ.Martinez","year":"2001-12-20","pages":"456"},{"id":0,"title":"TheGalaxyandthesolarsystem","author":"RomanSmoluchowski","year":"1986","pages":"483"},{"id":0,"title":"GalaxyInteractionsatLowandHighRedshift","autho |
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
//Get all books | |
function GetAll() { | |
let xmlhttp = new XMLHttpRequest(); | |
xmlhttp.onreadystatechange = function () { | |
if (xmlhttp.readyState == XMLHttpRequest.DONE) { // XMLHttpRequest.DONE == 4 | |
if (xmlhttp.status == 200) { | |
let x = JSON.parse(xmlhttp.responseText); | |
PutToTable(Object.keys(x).length, x); | |
} | |
} |
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
#include <math.h> | |
#include <algorithm> | |
#include <string> | |
#include <pmmintrin.h> | |
using namespace std;typedef float R; | |
#define _W 79 | |
#define _H 39 | |
#define EP 0.01f | |
#define OP operator | |
#define C const |
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
2018/04/07 10:16:37 [warn] 15390#15390: *43550 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/9/80/0000000809 while reading upstream, client: 31.13.113.193, server: localhost, request: "GET /js/afterglow.min.js HTTP/1.1", upstream: "http://127.0.0.1:5000/js/afterglow.min.js", host: "nsfwpics.pw", referrer: "http://nsfwpics.pw/" | |
2018/04/07 13:07:49 [warn] 15390#15390: *43664 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/0/81/0000000810 while reading upstream, client: 107.167.109.191, server: localhost, request: "GET /js/afterglow.min.js HTTP/1.1", upstream: "http://127.0.0.1:5000/js/afterglow.min.js", host: "nsfwpics.pw", referrer: "http://www.nsfwpics.pw/" | |
2018/04/07 13:14:07 [error] 15390#15390: *43700 connect() failed (111: Connection refused) while connecting to upstream, client: 107.167.109.95, server: localhost, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:5000/", host: "www.nsfwpics.pw" | |
2018/04/07 13:14:07 [warn] 15390#15390: |
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
server { | |
listen 80; | |
server_name localhost; | |
#charset koi8-r; | |
#access_log /var/log/nginx/host.access.log main; | |
location / { | |
proxy_pass http://localhost:5000; | |
proxy_http_version 1.1; |
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
using (SftpClient client = new SftpClient(serwer, port, user, pass)) | |
{ | |
client.Connect(); | |
client.ChangeDirectory("/var/www/html/img"); | |
using (FileStream fs = new FileStream(Path.GetFileName(Upload.FileName), FileMode.Create)) | |
{ | |
client.BufferSize = 4 * 1024; | |
client.UploadFile(fs, Path.GetFileName(Upload.FileName)); | |
} | |
} |
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
1. Open /Applications/XAMPP/etc/httpd.conf | |
2. Enable the following Modules by removing the # at the front of the line. | |
- LoadModule rewrite_module modules/mod_rewrite.so | |
- LoadModule proxy_module modules/mod_proxy.so | |
- LoadModule proxy_http_module modules/mod_proxy_http.so | |
3. Copy and Paste below to the bottom of httpd.conf | |
<IfModule mod_proxy.c> | |
ProxyRequests On |
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.lang.*; | |
import java.util.*; | |
public class Wichlinski | |
{ | |
public static int[] tab1 = new int[100]; | |
public static int[] tab2 = new int[100]; | |
public static Random gen = new Random(); | |
final static int NR_Z_DZIENNIKA = 27; | |
final static int SUMA_TYCH_LICZB = NR_Z_DZIENNIKA + 5; |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
using UnityEditorInternal; | |
using System; | |
[CustomEditor(typeof(_Quest_Manager))] | |
public class _Quest_Manager_Editor : Editor { |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class ShootingHabit : MonoBehaviour { | |
public static ShootingHabit Instance; | |
bool hasWeapon; | |
public Animator animator; | |
public Transform HandPosition; |