Skip to content

Instantly share code, notes, and snippets.

LCHF

저탄수화물 고지방 식이요법 - 저탄고지

세줄요약

  1. 탄단지 비율은 1:2:7 (1500kcal 기준, 37g:73g:113g)
  2. 배가 고플때 배부르게 먹는다.
  3. 좋은 지방을 챙겨먹는다.
#!/usr/bin/python
#-*- coding: utf-8 -*-
import urllib2
import urllib
from BeautifulSoup import BeautifulSoup
import re
#대충대충 갑시다.
def crawlMuseum(): #국립
museumList = []
-- StateManager.lua
local M = {stateMachines = {},paused = true}
function M:addMachine(fsm)
local index = table.indexOf(self.stateMachines, fsm)
if(index == nil) then
table.insert(self.stateMachines, fsm)
log(fsm.name.." | 상태 머신이 추가되었습니다.")
return true
@yurihan
yurihan / dpad.lua
Last active December 19, 2015 04:58
simple dpad code.
local DPad = {}
function DPad.create(radius)
local dpad = display.newGroup()
dpad.position = {x=0,y=0}
dpad.angle = 0
dpad.distance = 0
local outterCircle = display.newCircle(dpad, 0, 0, radius )
outterCircle:setFillColor(128,128,128)
outterCircle.alpha = 0.5