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
TypedArray ta = getActivity().obtainStyledAttributes(R.styleable.LeanbackTheme); | |
mContainerListMarginStart = (int) ta.getDimension( | |
R.styleable.LeanbackTheme_browseRowsMarginStart, getActivity().getResources() | |
.getDimensionPixelSize(R.dimen.lb_browse_rows_margin_start)); | |
mContainerListAlignTop = (int) ta.getDimension( | |
R.styleable.LeanbackTheme_browseRowsMarginTop, getActivity().getResources() | |
.getDimensionPixelSize(R.dimen.lb_browse_rows_margin_top)); | |
ta.recycle(); |
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 'package:flutter/material.dart'; | |
void main() => runApp(new MyApp()); | |
const CARD_SIZE = const Size(172.0 * 1.6, 248.0 * 1.6); | |
const SEPARATOR_WIDTH = 10.0; | |
const WIDTH_DIFFERENCE = 30.0; | |
const ITEM_COUNT = 80; | |
class MyApp extends StatelessWidget { |
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
setInterval(function() { | |
energy = parseInt($(".pgf-energy").text()) | |
if (energy >= 2000) { | |
$(".pgf-ability-help").click() | |
} | |
}, 1000); |
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
upstream getmanstudio_server { | |
server unix:/home/david/getman-studio-django/run/gunicorn.sock fail_timeout=0; | |
} | |
upstream getmanstudiodev_server { | |
server unix:/home/david/getman-studio-dev/run/gunicorn.sock fail_timeout=0; | |
} | |
server { |
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
data:text/html,%20<x%20id=e><script>for(i=4;i--;)e.innerHTML+=(i?'<textarea%20id=t'+i:'<iframe')+'%20style=width:49%;height:48%%20oninput=\'e.lastChild.src="data:text/html;base64,"+btoa(t3[v="value"]+"<script>"+t1[v]+"<\/script><style>"+t2[v])\'>'</script> |
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
https://github.com/users/ariedov/contributions_calendar_data?_=0 |
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
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.6+' | |
} | |
} |
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
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<color name="white">#FFFFFF</color> | |
<color name="yellow">#FFFF00</color> | |
<color name="fuchsia">#FF00FF</color> | |
<color name="red">#FF0000</color> | |
<color name="silver">#C0C0C0</color> | |
<color name="gray">#808080</color> | |
<color name="olive">#808000</color> | |
<color name="purple">#800080</color> |
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
BufferedReader bufferRead = new BufferedReader(new InputStreamReader(System.in)); | |
int N = Integer.parseInt(bufferRead.readLine().trim()); |
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
data:text/html, <style type="text/css">.e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div class="e" id="editor"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("editor");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script> | |
<!-- | |
For other language: Instead of `ace/mode/ruby`, Use | |
Markdown -> `ace/mode/markdown` | |
Python -> `ace/mode/python` | |
C/C++ -> `ace/mode/c_cpp` | |
Javscript -> `ace/mode/javascript` |
NewerOlder