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> | |
<head> | |
<meta http-equiv="Pragma" content="no-cache"/> | |
<meta http-equiv="Expires" content="-1"/> | |
<meta http-equiv="CacheControl" content="no-cache"/> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<link rel="shortcut icon" href="data:;base64,iVBORw0KGgo="/> | |
<APM_DO_NOT_TOUCH> | |
<script>//<![CDATA[ |
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 android.view.ViewGroup | |
import androidx.recyclerview.widget.ConcatAdapter | |
import androidx.recyclerview.widget.RecyclerView | |
import com.jay.widget.StickyHeaders | |
class StickyConcatAdapter( | |
private val concatAdapter: ConcatAdapter | |
) : RecyclerView.Adapter<RecyclerView.ViewHolder>(), StickyHeaders { | |
override fun isStickyHeader(position: Int): Boolean = position == 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
R.id::class.java.declaredFields.map { it[0] to it.name }.toMap()[2131296765] |
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/share/X11/xorg.conf.d/20-intel_tearing.conf | |
Section "Device" | |
Identifier "Intel Graphics" | |
Driver "intel" | |
Option "TripleBuffer" "true" | |
Option "TearFree" "true" | |
EndSection |
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
fun getData(): Single<Response> { | |
val client = OkHttpClient() | |
val request = Request.Builder() | |
.url("https://github.com/ar-android/panfic/raw/master/Panfic/gen/com/ocit/data.json") | |
.get() | |
.addHeader("cache-control", "no-cache") | |
.addHeader("postman-token", "ac8311d5-3876-ea1e-53d3-85f9e397ea21") | |
.build() |
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
// download and unpack https://www.netacad.com/group/offerings/packet-tracer/ | |
cd PacketTracer71_64bit_linux/ | |
sudo ./install | |
// if cant start | |
sudo apt-get install libqt5scripttools5:i386 libqt5scripttools5 | |
rm /usr/local/bin/packettracer |
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 io.github.wulkanowy.api.Vulcan; | |
Vulcan vulcan = new Vulcan(); | |
/** | |
* io.github.wulkanowy.api.login | |
*/ | |
vulcan.login("email", "password", "symbol", "id" /*optional*/); | |
// StudentAndParent.class |
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
<?php | |
$request = $_SERVER['REQUEST_URI']; | |
$root = __DIR__; | |
// workaround https://bugs.php.net/bug.php?id=61286 | |
$_SERVER['SCRIPT_NAME'] = '/index.php'; | |
$requestFile = $root.$request; | |
$index = $root.'/index.php'; |
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
<?php | |
// <?php gzinflate(base64_decode("DZZHDqwIEkTv0qv/xQIovEa9wHtXeDYtvPee009dIJX5FBkRxZn0f6q3Gcs+2Ys/abIVOPpfXmRTXvz5R4hjYd08eetcBFr0pQjoAYzFmIynUXP1twBDkLIVp9ku+c7Gx5lyEF+AfGl46hmBJ2dJhdAoYcgoAcgoEGCd704NBkZh3JT7URtf9ULOY63oANpGgLaEyxaIjYrUobLnFxrY0JUBlKutU7vwbBbqMphfHIIECoKY+6Vtuc9faLhiYoaaiRQZ/PsOytJMCrUyWCyIlONrDX3SPSAY6DBa+qgdbQ0hdj9vO5nEC8xfWfrx87UpvN75Zgcpsi5oDTlOTKhDWjV7KdQl8DDUeuOuLq4QyUbLaxvrxi+jAtI8cWalNA3mcDk3jUWnaWEhjxa+E5vcQKfvuPe9COYLfdgKKOJCy0YQeWYJgk8Ay4jlG18uPYRrbE8kMFxUlEyGiLMNuZxfCerym9revTNClL6x0rOjZsW7B/OxvucQBiOPKAgazFIv0dJklb25wUK5y6ayJVD08U5uNhhe6PKWOhVQwalRPiB0e2sa/aambwGDc6mbxH6miFTuW8cslDNiehK1DFSJ+Mu8labIfe5qFy3P9AjbJGoxMC/2B4XlJhCwNngh9+a6tylHnmAfIMWN4BagXR2Pr3sJrFQd+Pe6dvXLM0URAXIO0TyrIx32Ec1KR2ShUABGsl1PKxo4HwtcTaGP+R2maGnr+ONOi7NCBacWX6JwJLXHBB5wmGNg2K08uHv74JOjRDQ/dMnjreegp+KRcA2i9nikxEE6lJay5Y0bJ7XM7sHsSHX68LbzeglWqyLPKSqLzcQ4wVqnKQIDOuRwTdvTLCOsgahCKd7O8kdneiSZArkuhIDNCtKnUsQoSSj2Iqet1GDw3q18vGCZNAmrST9YF4qUppq0lFVDfQzutzmOdApX9K7OIqrLCOmzi/R9dTjZXKPK/I6CtIiRV8E/px42R51 |
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/env bash | |
# Download files from DreamSpark | |
# Project use Linux-SDM-Downloader and xSDM | |
# Usage: | |
# chmod u+x dreamsparkdownloader.sh | |
# ./dreamsparkdownloader.sh <sdx-file> | |
sdx_file=$1 |
NewerOlder