Skip to content

Commit

Permalink
Update big changes
Browse files Browse the repository at this point in the history
  • Loading branch information
agusmakmun committed Apr 19, 2016
1 parent 519b22e commit 69db176
Show file tree
Hide file tree
Showing 39 changed files with 2,275 additions and 13 deletions.
2 changes: 2 additions & 0 deletions Gemfile
@@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins
133 changes: 133 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,133 @@
GEM
remote: https://rubygems.org/
specs:
RedCloth (4.2.9)
activesupport (4.2.6)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.4.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.10.0)
colorator (0.1)
ethon (0.8.1)
ffi (>= 1.3.0)
execjs (2.6.0)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
ffi (1.9.10)
gemoji (2.1.0)
github-pages (71)
RedCloth (= 4.2.9)
github-pages-health-check (= 1.1.0)
jekyll (= 3.0.3)
jekyll-coffeescript (= 1.0.1)
jekyll-feed (= 0.5.1)
jekyll-gist (= 1.4.0)
jekyll-github-metadata (= 1.11.0)
jekyll-mentions (= 1.1.2)
jekyll-paginate (= 1.1.0)
jekyll-redirect-from (= 0.10.0)
jekyll-sass-converter (= 1.3.0)
jekyll-seo-tag (= 1.3.3)
jekyll-sitemap (= 0.10.0)
jekyll-textile-converter (= 0.1.0)
jemoji (= 0.6.2)
kramdown (= 1.10.0)
liquid (= 3.0.6)
mercenary (~> 0.3)
rdiscount (= 2.1.8)
redcarpet (= 3.3.3)
rouge (= 1.10.1)
terminal-table (~> 1.4)
github-pages-health-check (1.1.0)
addressable (~> 2.3)
net-dns (~> 0.8)
octokit (~> 4.0)
public_suffix (~> 1.4)
typhoeus (~> 0.7)
html-pipeline (2.4.0)
activesupport (>= 2, < 5)
nokogiri (>= 1.4)
i18n (0.7.0)
jekyll (3.0.3)
colorator (~> 0.1)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.3)
liquid (~> 3.0)
mercenary (~> 0.3.3)
rouge (~> 1.7)
safe_yaml (~> 1.0)
jekyll-coffeescript (1.0.1)
coffee-script (~> 2.2)
jekyll-feed (0.5.1)
jekyll-gist (1.4.0)
octokit (~> 4.2)
jekyll-github-metadata (1.11.0)
octokit (~> 4.0)
jekyll-mentions (1.1.2)
html-pipeline (~> 2.3)
jekyll (~> 3.0)
jekyll-paginate (1.1.0)
jekyll-redirect-from (0.10.0)
jekyll (>= 2.0)
jekyll-sass-converter (1.3.0)
sass (~> 3.2)
jekyll-seo-tag (1.3.3)
jekyll (~> 3.0)
jekyll-sitemap (0.10.0)
jekyll-textile-converter (0.1.0)
RedCloth (~> 4.0)
jekyll-watch (1.3.1)
listen (~> 3.0)
jemoji (0.6.2)
gemoji (~> 2.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0)
json (1.8.1)
kramdown (1.10.0)
liquid (3.0.6)
listen (3.0.6)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9.7)
mercenary (0.3.6)
mini_portile2 (2.0.0)
minitest (5.4.3)
multipart-post (2.0.0)
net-dns (0.8.0)
nokogiri (1.6.7.2)
mini_portile2 (~> 2.0.0.rc2)
octokit (4.3.0)
sawyer (~> 0.7.0, >= 0.5.3)
public_suffix (1.5.3)
rb-fsevent (0.9.7)
rb-inotify (0.9.7)
ffi (>= 0.5.0)
rdiscount (2.1.8)
redcarpet (3.3.3)
rouge (1.10.1)
safe_yaml (1.0.4)
sass (3.4.22)
sawyer (0.7.0)
addressable (>= 2.3.5, < 2.5)
faraday (~> 0.8, < 0.10)
terminal-table (1.5.2)
thread_safe (0.3.5)
typhoeus (0.8.0)
ethon (>= 0.8.0)
tzinfo (1.2.2)
thread_safe (~> 0.1)

PLATFORMS
ruby

DEPENDENCIES
github-pages

BUNDLED WITH
1.11.2
2 changes: 1 addition & 1 deletion README.md
@@ -1,3 +1,3 @@
Our Stack Problems

> This project forking from [A simple grey theme for Jekyll](https://github.com/liamsymonds/simplygrey-jekyll)
> This project forked and has been modified from [A simple grey theme for Jekyll](https://github.com/liamsymonds/simplygrey-jekyll)
11 changes: 8 additions & 3 deletions _config.yml
@@ -1,11 +1,16 @@
name: Agus Makmun
markdown: redcarpet
pygments: true
github: https://github.com/agusmakmun
about: I am freelance developer. Currently doing more in backend, actually in Python and Django.
urls:
- text: github
- text: About Me
url: /about/
- text: Github
url: https://github.com/agusmakmun
- text: XML Sitemap
url: /sitemap.xml
url: "https://agusmakmun.github.io"
baseurl: ""
paginate: 20
per_page: 20
paginate_path: "/page:num/"
markdown: kramdown
2 changes: 1 addition & 1 deletion _layouts/default.html
Expand Up @@ -33,7 +33,7 @@ <h1 class="author-name">{{ site.name }}</h1>
{% endif %}
<hr />
<strong>Navigation</strong><br />
&raquo; <a href="/">home</a> <br />
&raquo; <a href="{{ site.baseurl }}">Home</a> <br />
{% for i in site.urls %}
&raquo; <a class="about" href="{{ i.url }}">{{ i.text }}</a><br />
{% endfor %}
Expand Down
14 changes: 14 additions & 0 deletions _layouts/page.html
@@ -0,0 +1,14 @@
---
layout: default
---
<article class="post">

<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
</header>

<div class="post-content">
{{ content }}
</div>

</article>
2 changes: 1 addition & 1 deletion _posts/2013-12-23-ruby-json.markdown
@@ -1,7 +1,7 @@
---
layout: post
title: "Parsing JSON with Ruby"
date: 2013-12-23 00:18:23
date: 2013-12-23 00:18:23 +0700
categories: ruby
---
Parsing JSON with Ruby is actually extremely easy. All you have to do is have the json gem installed (`gem install json`) and call the `JSON.parse` method on the JSON data to convert it to ruby hashes. If you look at this small program here, you can see how I have implemented parsing JSON in Ruby.
Expand Down
3 changes: 2 additions & 1 deletion _posts/2013-12-23-welcome-to-simply-grey.markdown
@@ -1,7 +1,7 @@
---
layout: post
title: "Welcome to Simply Grey"
date: 2013-12-23 00:18:23
date: 2013-12-23 00:18:23 +0700
categories: simplygrey
---
SimplyGrey is a simple, easy to use theme for Jekyll that compromises of mainly grey colours. A lot of people enjoy the simplistic look of grey and also find it easier to read.
Expand All @@ -18,6 +18,7 @@ Jekyll is a static site generator developed in ruby that generates websites from

### Code Snippets
Code Snippets are one of the main reasons why I love Jekyll and I think you will too. All code snippets become highlighted with great colours when you write the code in markdown. Here is an example of highlighted Ruby code in a weather application that I have made.

{% highlight ruby %}
#!/usr/bin/env ruby

Expand Down
7 changes: 3 additions & 4 deletions _posts/2016-04-19-email-backend-with-smtp-gmail.markdown
@@ -1,16 +1,15 @@
---
layout: post
title: "Email BackEnd with SMTP Gmail"
date: 2016-04-19 02:28:15
date: 2016-04-19 02:28:15 +0700
categories: django
---

Add this configurations in your `settings.py`

This configurations is if you work with `smtp.gmail.com`, other smtp is similiar with configurations.

* Unlock Captha: https://accounts.google.com/DisplayUnlockCaptcha
* Change to active: https://www.google.com/settings/security/lesssecureapps
* Unlock Captha: [https://accounts.google.com/DisplayUnlockCaptcha](https://accounts.google.com/DisplayUnlockCaptcha)
* Change to active: [https://www.google.com/settings/security/lesssecureapps](https://www.google.com/settings/security/lesssecureapps)

```
EMAIL_HOST = 'smtp.gmail.com'
Expand Down
25 changes: 25 additions & 0 deletions _posts/2016-04-19-welcome-to-jekyll.markdown
@@ -0,0 +1,25 @@
---
layout: post
title: "Welcome to Jekyll!"
date: 2013-02-19 21:28:15 +0700
categories: jekyll update
---
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.

To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.

Jekyll also offers powerful support for code snippets:

{% highlight ruby %}
def print_hi(name)
puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.
{% endhighlight %}

Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].

[jekyll-docs]: http://jekyllrb.com/docs/home
[jekyll-gh]: https://github.com/jekyll/jekyll
[jekyll-talk]: https://talk.jekyllrb.com/

0 comments on commit 69db176

Please sign in to comment.