<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title itemprop="name">后台管理 - 行走的代码</title>

<link href="./assets/img/favicon.png" rel="icon" type="image/png">
<link type="text/css" href="https://argon-dashboard-pro-laravel.creative-tim.com/argon/css/argon.css?v=1.0.0"
rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css">

</head>
<li class="nav-item">
<a class="nav-link" href="./views/post.html" role="button" aria-expanded="false" aria-controls="navbar-components">
<i class="fa fa-edit text-green"></i>
<span class="nav-link-text">发布博客</span>
</a>
</li>
# Output "I love Ruby"
say = "I love Ruby"
puts say

# Output "I *LOVE* RUBY"
say['love'] = "*love*"
puts say.upcase

# Output "I *love* Ruby"
# five times
5.times { puts say }
#!/usr/bin/python3
# -*- coding: UTF-8 -*-

print("Hello, World!")

for letter in 'Python': # 第一个实例
print '当前字母 :', letter

fruits = ['banana', 'apple', 'mango']
for fruit in fruits: # 第二个实例
print '当前水果 :', fruit

print "Good bye!"
<?php
for ($i=1; $i<=5; $i++)
{
echo "The number is " . $i . "<br>";
}
?>
#include <stdio.h>

int main ()
{
for( ; ; )
{
printf("该循环会永远执行下去!\n");
}
return 0;
}
public class Test {
public static void main(String args[]){
int x = 10;

do{
System.out.print("value of x : " + x );
x++;
System.out.print("\n");
}while( x < 20 );
}
}
{{-- 后台携带session提醒 --}}
@if(session() -> has('msg'))

<script type="text/javascript">
noticeBox("{{ session('msg') }}");
</script>

@endif
using System;

namespace Loops
{

class Program
{
static void Main(string[] args)
{
for (; ; )
{
Console.WriteLine("Hey! I am Trapped");
}

}
}
}
<?php
$dbhost = 'localhost:3306'; // mysql服务器主机地址
$dbuser = 'root'; // mysql用户名
$dbpass = '123456'; // mysql用户名密码
$conn = mysqli_connect($dbhost, $dbuser, $dbpass);
if(! $conn )
{
die('连接错误: ' . mysqli_error($conn));
}
echo '连接成功<br />';
$sql = 'CREATE DATABASE RUNOOB';
$retval = mysqli_query($conn,$sql );
if(! $retval )
{
die('创建数据库失败: ' . mysqli_error($conn));
}
echo "数据库 RUNOOB 创建成功\n";
mysqli_close($conn);
?>
$("button").click(function(){
$("div").animate({
left:'250px',
opacity:'0.5',
height:'150px',
width:'150px'
});
});
.dropdown {
position: relative;
display: inline-block;
}

.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
padding: 12px 16px;
z-index: 1;
}
#include <iostream>
using namespace std;

int main ()
{

for( ; ; )
{
printf("This loop will run forever.\n");
}

return 0;
}
<url>
<loc>https://www.tespera.com/</loc>
<lastmod>2019-05-07T16:40:15+08:00</lastmod>
<priority>1.00</priority>
</url>


博客标签:
博客归档: 行走的代码 / / 代码样本

Tespera

爱看书,爱看电影,偶尔也听听歌。喜欢写如诗的代码,热爱 IT 行业。熟悉 Web 前端开发,了解 C、Python、PHP 等计算机语言。

3 Comments
子非鱼 2019-04-30 23:22

"多年以来,我认识到,当你拥有真正优秀的人才时,你不必对他们太纵容,"乔布斯后来解释说:"你期待他们做出好成绩,你就能让他们做出好成绩。 最初的 Mac 团队让我知道,最顶级的人才喜欢一起工作,而且他们是不能容忍平庸作品的。你到那个 Mac 团队里随便找个人问问,他们会告诉你,那些痛苦都是值得的。"

Post your comment