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
package by.fksis.schedule.parser; | |
import fksis.domain.entities.ScheduledClass; | |
import org.htmlparser.Node; | |
import org.htmlparser.Parser; | |
import org.htmlparser.filters.CssSelectorNodeFilter; | |
import org.htmlparser.http.ConnectionManager; | |
import org.htmlparser.util.NodeList; | |
import java.io.InputStream; |
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 UnityEngine; | |
[ExecuteInEditMode] | |
public class HumanAdaptation : MonoBehaviour | |
{ | |
21public Shader Shader; | |
public int InitialSampling = 256; | |
public float AdaptationCoefficient = 0.01f; | |
public float Key = 0.5f, White = 0.5f, Limit = 0.02f; | |
public int LuminanceGridSize = 1; |
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
Shader "Custom/HumanAdaptation" { | |
21Properties { | |
_MainTex ("Base (RGB)", 2D) = "white" {} | |
} | |
SubShader { | |
Tags { "RenderType"="Opaque" } | |
LOD 200 | |
CGINCLUDE |
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
Shader "Custom/HumanEye" { | |
Properties { | |
_MainTex ("Base (RGB)", 2D) = "white" {} | |
} | |
SubShader { | |
Tags { "RenderType"="Opaque" } | |
LOD 200 | |
CGINCLUDE | |
#pragma fragmentoption ARB_precision_hint_fastest |
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 UnityEngine; | |
using System.Collections; | |
using System.IO; | |
#if UNITY_ANDROID | |
using FacebookAccess = FacebookAndroid; | |
#elif UNITY_IPHONE | |
using FacebookAccess = FacebookBinding; | |
#endif | |
public class Global : MonoBehaviour | |
{ |
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 UnityEngine; | |
using System.Collections; | |
public class SlotMachineT_1 : MonoBehaviour | |
{ | |
private bool looby=false; | |
private bool r1=true,r2=true,r3=true,r4=true,r5=true; | |
public AudioSource SoundSX; | |
//public AudioClip Audio3; | |
public static bool BUYmn=false; |
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
WD Caviar 2540 540Mb IDE - 1 шт | |
Сетевые карты на коаксиал (ISA) - 5 шт | |
Звук Creative PCI - 1 шт | |
Неопознанное AGP видео (VGA) - 1 шт | |
Tseng Labs ET6000 видео (VGA), PCI - 2 шт | |
Сидюк Acer 50x IDE - 1 шт | |
Флоп обыкновенный - 2 шт | |
Отдам, e-mail: [email protected] |
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
HashMap<String, String> params = new HashMap(); | |
params.put("addBroadcast", "1"); | |
params.put("auth_login", username); | |
params.put("auth_key", accessKey); | |
params.put("text", text); | |
params.put("expires", expires); | |
return new JSONObject(query(params)); |
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
if (request.getParameter("addBroadcast") != null) { | |
User u = Authenticator.authenticate(request); | |
Gson gson = new Gson(); | |
response.setCharacterEncoding("utf8"); | |
if (u == null) { | |
response.getWriter().write("Denied"); | |
} else { | |
if (u.getUserRole() != UserRole.GROUP_MONITOR) { | |
response.getWriter().write("Not available"); | |
return; |
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
class BankUser (Model): | |
name = CharField(...) | |
login = CharField(...) | |
password = PasswordField(...) | |
@property | |
def overdrafted_accounts(self): | |
// SELECT * FROM db.bankaccount WHERE user__id=1 AND money<0 | |
return BankAccount.objects.filter(user=self, money__lt=0).all() |