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
var now = new Date(); | |
now.setDate(now.getDate() + 3); | |
console.log(now.toISOString()); |
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
var d = new Date(2012, 2, 23, 23, 0, 0, 0); | |
d.setUTCDate(d.getDate() + 3); | |
console.log(d.toLocaleString()); |
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
function diffArray(arr1, arr2) { | |
var newArr = []; | |
var intersArr = []; | |
newArr = arr1.filter(function(elem) { | |
if(arr2.indexOf(elem) === -1) { | |
return true; | |
} | |
else { | |
intersArr.push(elem); |
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
{ | |
"me":"Do your project!", | |
"St. Jerome":"Good, better, best. Never let it rest. 'Til your good is better and your better is best.", | |
"Francis of Assisi":"If God can work through me, he can work through anyone.", | |
"Pope John Paul II":"Freedom consists not in doing what we like, but in having the right to do what we ought.", | |
"St. Pio of Pietrelcino":"Pray, Hope, and Don't Worry", | |
"St. Catherine of Siena":"Be who God meant you to be and you will set the world on fire!", | |
"St. John Paul II":"Life with Christ is a wonderful adventure." | |
} |
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
- partition_index: SYS0 | |
partition_name: PRELOADER | |
file_name: preloader_pixi3_10.bin | |
is_download: true | |
type: SV5_BL_BIN | |
linear_start_addr: 0 | |
physical_start_addr: 0x0 | |
partition_size: 0x40000 | |
region: EMMC_BOOT_1 | |
storage: HW_STORAGE_EMMC |
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
MacBook:levlas.github.io lev$ bundle exec jekyll serve | |
bundler: failed to load command: jekyll (/usr/local/bin/jekyll) | |
Bundler::GemRequireError: There was an error while trying to load the gem 'octopress-multilingual'. | |
Gem Load Error is: undefined method `template' for class `Jekyll::Post' | |
Backtrace for gem load error is: | |
/usr/local/lib/ruby/gems/2.4.0/gems/octopress-multilingual-1.2.0/lib/octopress-multilingual/jekyll.rb:85:in `<class:Post>' | |
/usr/local/lib/ruby/gems/2.4.0/gems/octopress-multilingual-1.2.0/lib/octopress-multilingual/jekyll.rb:84:in `<module:Jekyll>' | |
/usr/local/lib/ruby/gems/2.4.0/gems/octopress-multilingual-1.2.0/lib/octopress-multilingual/jekyll.rb:1:in `<top (required)>' | |
/usr/local/lib/ruby/gems/2.4.0/gems/octopress-multilingual-1.2.0/lib/octopress-multilingual.rb:9:in `require' | |
/usr/local/lib/ruby/gems/2.4.0/gems/octopress-multilingual-1.2.0/lib/octopress-multilingual.rb:9:in `<top (required)>' |
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
source 'https://rubygems.org' | |
gem 'github-pages', group: :jekyll_plugins | |
group :jekyll_plugins do | |
gem 'octopress-multilingual' | |
end |
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
#------------------------------------------------------------------------------# | |
# OFFICIAL UBUNTU REPOS # | |
#------------------------------------------------------------------------------# | |
###### Ubuntu Main Repos | |
deb http://hu.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse | |
###### Ubuntu Update Repos | |
deb http://hu.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse |
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
George Vasileiou (gvasileiou) wrote on 2017-06-30: #11 | |
I had the same problem in elementary OS Loki. The same messages as it is described above. Those bug was affecting my login time in the pantheon graphical environment so I came out with a very quickie work - arround. I edited and I delete the lines which have pam_kwallet.so and pam_kwallet5.so. Make a backup before you try it. | |
/etc/pam.d/lightdm | |
#%PAM-1.0 | |
auth requisite pam_nologin.so | |
auth sufficient pam_succeed_if.so user ingroup nopasswdlogin | |
@include common-auth | |
auth optional pam_gnome_keyring.so |
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
FROM sonatype/nexus3:3.5.0 | |
ENV OLD_AVON_BLOBS=/app/sonatype-work/avon-maps/blobs \ | |
NEW_AVON_BLOBS=/nexus-data/blobs \ | |
CONFIG_EXPORT=/nexus-data/config-export | |
USER root | |
RUN mkdir -p ${OLD_AVON_BLOBS} \ | |
&& ln -s ${NEW_AVON_BLOBS}/avon-maps ${OLD_AVON_BLOBS}/avon-maps \ | |
&& chown -R nexus:nexus ${OLD_AVON_BLOBS} |
OlderNewer