Skip to content

Instantly share code, notes, and snippets.

@igor-arkhipov
igor-arkhipov / Ghost_to_HUGO_blog.php
Created June 19, 2016 10:55 — forked from vjeantet/Ghost_to_HUGO_blog.php
Use this php script to convert a Ghost export json file to Hugo content file. Files will be created in a "output" folder, to reuse images place the ghost content folder into the hugo's static folder
<?php
$ghost_data = json_decode(file_get_contents("./GhostData.json"),true) ;
foreach ($ghost_data['data']['posts'] as $key => $value) {
$created_at = date("c",$value["created_at"]/1000);
$title = str_replace('\\','\\\\',$value["title"]) ;
$title = str_replace('"','\"',$title) ;
@igor-arkhipov
igor-arkhipov / dabblet.css
Created August 11, 2016 16:00 — forked from csssecrets/dabblet.css
Typing animation
/**
* Typing animation
*/
@keyframes typing {
from { width: 0 }
}
@keyframes caret {
50% { border-right-color: transparent; }
@igor-arkhipov
igor-arkhipov / dabblet.css
Created December 3, 2016 04:11 — forked from csssecrets/dabblet.css
Marching ants border
/**
* Marching ants border
*/
@keyframes ants { to { background-position: 100% 100% } }
div {
padding: 1em;
border: 1px solid transparent;
background: linear-gradient(white, white) padding-box,
// web_check.go
package main
import (
"fmt"
"net/http"
"time"
)
const url = "https://golang.org/"

Keybase proof

I hereby claim:

  • I am igor-arkhipov on github.
  • I am igor_arkhipov (https://keybase.io/igor_arkhipov) on keybase.
  • I have a public key whose fingerprint is 68F1 75B2 A2A7 A8EF F51F E747 501A 2126 95F9 51B9

To claim this, I am signing this object: