This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<link rel="stylesheet" type="text/css" href="http://app.englishpatient.org/assets/css/semantic.min.css"> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Chat</title> | |
<script | |
src="https://code.jquery.com/jquery-3.1.0.min.js" | |
integrity="sha256-cCueBR6CsyA4/9szpPfrX3s49M9vUU5BgtiJj06wt/s=" | |
crossorigin="anonymous"></script> |
This file contains hidden or 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
function getImageUrl(name, message, imageBase64) { | |
let parseFile = new Parse.File(name, imageBase64); | |
let Telegram = Parse.Object.extend('Telegram'); | |
let p = new Telegram(); | |
p.set('message', message); | |
p.set('image', parseFile); | |
p.save().then(function() { | |
// The file has been saved to Parse. | |
let q = new Parse.Query('Telegram'); | |
q.addDescending('createdAt'); |
This file contains hidden or 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 <iostream> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <math.h> | |
using namespace std; | |
class Quat { | |
public: | |
double fi, x, y, z; |
This file contains hidden or 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 <iostream> | |
#include <stdlib.h> | |
#include <time.h> | |
using namespace std; | |
// класс-список, работает с указателями | |
class node | |
{ | |
int info; node* next; | |
public: |
This file contains hidden or 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 <iostream> | |
#include <string> | |
#include <exception> | |
#include <clocale> | |
#include <typeinfo> | |
using namespace std; | |
class Transport { | |
double mass; | |
string title; |
This file contains hidden or 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
int RandomazerPartition(int* A, int p, int r) { | |
int q = rand() % (r - p) + p; | |
int j = 0; | |
int k = 0; | |
for (int i = p; i <= r; i++) { | |
if (A[i] < A[q]) { | |
A1[j] = A[i]; | |
j++; | |
} | |
if(A[i] > A[q]) { |
This file contains hidden or 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
#!/usr/bin/python | |
# GoogleMapDownloader.py | |
# Created by Hayden Eskriett [http://eskriett.com] | |
# | |
# A script which when given a longitude, latitude and zoom level downloads a | |
# high resolution google map | |
# Find the associated blog post at: http://blog.eskriett.com/2013/07/19/downloading-google-maps/ | |
import urllib | |
import Image |
This file contains hidden or 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 BattleUnit : MonoBehaviour { | |
public GameObject fireCyrcle; | |
public GameObject moveCyrcle; | |
bool isSelected; | |
GameObject fireZone; |
This file contains hidden or 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 argparse | |
class ConfigType(type): | |
def __new__(mcls, name, bases, attrs): | |
if name.startswith('None'): | |
return None | |
print(attrs) | |
mcls.parse_args() |
OlderNewer