https://www.mkyong.com/hibernate/how-to-configure-logging-in-hibernate-logback/
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
| all: smallpt | |
| smallpt: | |
| g++-6 -O3 -fopenmp smallpt.cc -o smallpt | |
| clean: | |
| $(RM) smallpt |
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
| FROM centos:centos6 | |
| RUN yum install -y gcc make flex patch bzip2 libxml2-devel | |
| RUN yum -y install httpd httpd-devel | |
| COPY php-5.1.6.tar.bz2 /root | |
| WORKDIR /root | |
| RUN tar xvf php-5.1.6.tar.bz2 | |
| WORKDIR /root/php-5.1.6 |
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
| FROM centos:latest | |
| RUN yum install -y gcc make flex patch bzip2 libxml2-devel perl httpd-devel | |
| RUN yum -y install httpd | |
| COPY php-5.1.6.tar.bz2 /root | |
| WORKDIR /root | |
| RUN tar xvf php-5.1.6.tar.bz2 | |
| WORKDIR /root/php-5.1.6 |
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 okhttp3.*; | |
| import java.io.File; | |
| import java.io.FileReader; | |
| import java.io.IOException; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.regex.Pattern; | |
| /** |
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
| Object.defineProperty(String.prototype, 'to_i', {get: function() { return parseInt(this); }}) | |
| "100".to_i # => 100 |
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 main | |
| import ( | |
| "fmt" | |
| "time" | |
| ) | |
| func main() { | |
| result := make(chan int) | |
| go func() { |
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
| window.addEventListener('scroll', function(event) { | |
| console.log(window.pageYOffset); | |
| }, false); | |
| window.addEventListener('DOMContentLoaded', function(event) { | |
| }, 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
| convert -resize 120x icon.png icons/[email protected] | |
| convert -resize 180x icon.png icons/[email protected] | |
| convert -resize 76x icon.png icons/icon-76.png | |
| convert -resize 152x icon.png icons/[email protected] | |
| convert -resize 29x icon.png icons/icon-29.png | |
| convert -resize 58x icon.png icons/[email protected] | |
| convert -resize 87x icon.png icons/[email protected] | |
| convert -resize 80x icon.png icons/[email protected] | |
| convert -resize 120x icon.png icons/[email protected] |