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
| recyclerView.addItemDecoration(DividerItemDecoration(this, LinearLayoutManager.VERTICAL)); |
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
| http://www.emoji-cheat-sheet.com/ |
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
| #!/bin/bash | |
| service=$1 | |
| action=$2 | |
| if [ $service == 'lampp' ] | |
| then | |
| sudo /opt/lampp/./manager $action | |
| else | |
| sudo service $service $action |
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
| #!/bin/bash | |
| # If you are lazy when have to add, commit and push the final work on GitHub, you'll love it! :P | |
| git add --all | |
| git commit $* | |
| git push |
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> | |
| <title>Krypton Redux</title> | |
| <link rel='stylesheet' type='text/css' href='stylesheet.css'/> | |
| <script type='text/javascript' src='script.js'></script> | |
| <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script> | |
| <style> | |
| body { |
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
| BookDAO bdao = new BookDAO(); | |
| ArrayList<String> data = bdao.select("livro"); | |
| String cols[] = (data.get(0).split(",")); | |
| data.remove(0); | |
| for(int i = 0; i < data.size(); i++){ | |
| String inp[] = data.get(i).split(", "); | |
| for(int j = 0; j < inp.length-1; j++){ | |
| out.print("<br> <b>"+cols[j]+"</b><br> <input type='text' value='"+inp[j]+"'>"); | |
| } |
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 | |
| class Connection{ | |
| public static $db; | |
| private static function doConnection(){ | |
| if (!isset(self::$db)) { | |
| try { | |
| $host = "YOUR_HOST"; | |
| $db_name = "YOUR_DB"; | |
| $user = "YOUR_USER"; | |
| $pass = "YOUR_PASS"; |
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
| # 2048.py | |
| # Written in python / pygame by DavidSousaRJ - [email protected] | |
| # License: Creative Commons | |
| # Sorry about some comments in portuguese! | |
| import os | |
| import sys | |
| import pygame | |
| from pygame.locals import * | |
| from random import randint |
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
| # Built application files | |
| /*/build/ | |
| # Crashlytics configuations | |
| com_crashlytics_export_strings.xml | |
| # Local configuration file (sdk path, etc) | |
| local.properties | |
| # Gradle generated files |
NewerOlder