Skip to content

Instantly share code, notes, and snippets.

View Sar777's full-sized avatar
🎯
Focusing

Arthur Antonevich Sar777

🎯
Focusing
  • Minsk, Republic of Belarus
  • 14:42 (UTC +03:00)
View GitHub Profile
@Sar777
Sar777 / AccountAuthenticator.java
Created June 3, 2017 14:08 — forked from burgalon/AccountAuthenticator.java
Implementing OAuth2 with AccountManager, Retrofit and Dagger
public class AccountAuthenticator extends AbstractAccountAuthenticator {
private final Context context;
@Inject @ClientId String clientId;
@Inject @ClientSecret String clientSecret;
@Inject ApiService apiService;
public AccountAuthenticator(Context context) {
super(context);
@Sar777
Sar777 / webpack.server.config.js
Created April 10, 2017 10:37 — forked from madx/webpack.server.config.js
Webpack config for an Express app in Node.js
const path = require("path")
const fs = require("fs")
// -- Webpack configuration --
const config = {}
// Application entry point
config.entry = "./src/server/index.js"
@Sar777
Sar777 / quote.java
Last active October 30, 2016 13:11
package by.onliner.newsonlinerby.Parser.Parsers;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import by.onliner.newsonlinerby.Parser.IContentParser;
import by.onliner.newsonlinerby.Structures.Comments.CommentQuote;
/**
* Парсинг цитат к комментариям
@Sar777
Sar777 / build-boost-libc++
Created September 3, 2016 23:04 — forked from jimporter/build-boost-libc++
Build Boost against libc++
#!/bin/sh
# First, build libc++ See <http://libcxx.llvm.org/>, "Build on Linux using CMake
# and libsupc++." and substitute libsupc++ for libstdc++. NOTE: You'll probably
# need to explicitly link libsupc++ when you compile your own code!
#
# Next, download Boost and extract it somewhere. Set SRC_DIR to that location.
SRC_DIR=$HOME/src/boost_1_55_0
# Set this to be the install prefix. "/usr" is also a good choice.
class AccountObjectSetCheats
{
bool AutoBattle = false;
AccountobjectSetCheats Type;
int8 SlotLockCheat = 0;
};
class AccountObjectGetProfile
{
std::string Filename;
2.144.0.0/14; 2.176.0.0/12; 5.22.0.0/17; 5.22.192.0/19; 5.23.112.0/21; 5.28.32.0/21; 5.34.192.0/19; 5.52.0.0/16; 5.53.32.0/19; 5.56.128.0/22; 5.56.132.0/24; 5.56.135.0/24; 5.57.32.0/21; 5.61.24.0/23; 5.61.26.0/24; 5.61.29.0/24; 5.61.30.0/23; 5.61.72.0/21; 5.62.160.0/19; 5.63.8.0/21; 5.72.0.0/14; 5.78.0.0/16; 5.102.32.0/20; 5.106.0.0/16; 5.112.0.0/12; 5.134.128.0/18; 5.144.128.0/21; 5.145.112.0/21; 5.159.48.0/21; 5.160.0.0/15; 5.190.0.0/16; 5.198.160.0/19; 5.200.64.0/18; 5.200.128.0/17; 5.201.128.0/17; 5.202.0.0/16; 5.208.0.0/12; 5.226.48.0/21; 5.232.0.0/13; 5.250.0.0/17; 31.2.128.0/17; 31.7.64.0/18; 31.7.128.0/20; 31.14.80.0/20; 31.14.112.0/20; 31.14.144.0/20; 31.24.204.0/22; 31.24.232.0/21; 31.25.88.0/21; 31.25.104.0/21; 31.25.128.0/21; 31.25.232.0/21; 31.29.32.0/19; 31.40.0.0/21; 31.47.32.0/19; 31.56.0.0/14; 31.130.176.0/20; 31.170.48.0/20; 31.171.216.0/21; 31.184.128.0/18; 31.193.112.0/21; 31.193.144.0/20; 31.217.208.0/21; 37.9.248.0/21; 37.10.64.0/22; 37.19.80.0/20; 37.27.0.0/16; 37.32.0.0/19; 37.32.32.0/
Npc 74578(Hallucination)
Casted: 148360(Cosmetic - Druid Morph w/ Cast);
-------------------
Npc 75094(Utrophis)
Casted: 164964(Sundering Life), 168214(Whirlpool), 168226(Whirlpool), 168228(Whirlpool), 168229(Whirlpool), 168286(Water Bolt);
Npc 76465(Pale Flinger)
Casted: 148360(Cosmetic - Druid Morph w/ Cast), 150054(Illusion), 150187(Deranged), 150421(Illusory Bolt), 150448(Illusory Charge), 150457(Illusory Charge);
-------------------
@Sar777
Sar777 / db-connect-test.php
Created February 2, 2016 21:42 — forked from chales/db-connect-test.php
Script for a quick PHP MySQL DB connection test.
<?php
# Fill our vars and run on cli
# $ php -f db-connect-test.php
$dbname = 'name';
$dbuser = 'user';
$dbpass = 'pass';
$dbhost = 'host';
$connect = mysql_connect($dbhost, $dbuser, $dbpass) or die("Unable to Connect to '$dbhost'");
public class AccountObjectSetCheats
{
public bool AutoBattle { get; set; }
public AccountobjectSetCheats Type { get; set; }
public sbyte SlotLockCheat { get; set; }
}
public class AccountObjectGetProfile
{
public string Filename { get; set; }