I rewrote https://bundler.io page to be responsive and much more user friendly.
Most important things done:
- responsive, mobile-friendly design
- search through documentation
I rewrote https://bundler.io page to be responsive and much more user friendly.
Most important things done:
I hereby claim:
To claim this, I am signing this object:
{ | |
type: 'GameState', | |
idOfPlayerPlaying: 2, //gracz aktualnie mający ruch | |
gameState: { | |
n: 150, //maksymalna liczba punktów | |
}, | |
wonGame: null, //if not null: id gracza wygrywającego całą grę | |
wonPart: null, //if not null: id gracza wygrywającego turę | |
players: [ | |
{ |
class First: | |
def visit_method1(self): | |
print('hello1') | |
def visit_method2(self): | |
print('hello2') | |
first = First() | |
method = 'visit_method1' | |
getattr(first, method)() #wypisze hello1 |
if (x==12) { | |
y=5; | |
} | |
//lub tak: | |
if (y==13) | |
{ | |
x=6; | |
} |
require 'cinch' | |
require 'open-uri' | |
$users = {} | |
class Seen < Struct.new(:who, :where, :what, :time) | |
def to_s | |
"[#{time.asctime}] #{who} was seen in #{where} saying #{what}" | |
end | |
end |
<dl class="postprofile" id="profile{postrow.POST_ID}"<!-- IF postrow.S_POST_HIDDEN --> style="display: none;"<!-- ENDIF -->> | |
<dt class="<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG -->has-profile-rank<!-- ELSE -->no-profile-rank<!-- ENDIF --> <!-- IF postrow.POSTER_AVATAR -->has-avatar<!-- ELSE -->no-avatar<!-- ENDIF -->"> | |
<div class="avatar-container"> | |
<!-- EVENT viewtopic_body_avatar_before --> | |
<!-- IF postrow.POSTER_AVATAR --> | |
<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}" class="avatar">{postrow.POSTER_AVATAR}</a><!-- ELSE --><span class="avatar">{postrow.POSTER_AVATAR}</span><!-- ENDIF --> | |
<!-- ENDIF --> | |
<!-- EVENT viewtopic_body_avatar_after --> | |
</div> | |
<!-- EVENT viewtopic_body_post_author_before --> |
location / { | |
proxy_pass http://localhost:3000; | |
proxy_set_header X-Forwarded-Proto $scheme; | |
proxy_set_header Host $http_x_forwarded_host; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection "upgrade"; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_read_timeout 3m; | |
proxy_send_timeout 3m; |
/** | |
* Make field with errors and everything you need built in | |
* Usage: | |
<field ng-model="my_object.my_field" | |
errors="errors.my_field" | |
description="My field" | |
type="text" | |
placeholder="my_field" | |
required |
void push_back(info info) { | |
if (list==null) return; | |
node * temp; | |
temp = (node *) malloc(sizeof node); | |
temp -> data = info; | |
temp -> next = list; | |
if (list->prev==null) { | |
list -> prev = temp; | |
list -> next = temp; |