Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Tag: print

Shell script prints parallelogram, diamond

Shell script printing parallelograms #!/bin/ bash

for ((i=1;i<= 9;i++)) do for ((j=9;j>=i;j- -))
do
echo -n ” ”
done

for ((j=2;j<= i;j++)) do echo -n "*" done for ((j=1;j<

October 18, 2021By Simo Unix diamond, parallelogram, print, Script, shellLeave a Comment

Shell script prints ninety-nine multipliers

The shell script prints the nine-nine-nine multiplication table #!/bin/bash

for i in {1..9}
do
for j in {1..9}
do
if [$j -le $i]
then
echo -n “${j}X${i}= $(($i*$j)) ”
fi
done

October 18, 2021By Simo Unix ninety-nine multiplier, print, Script, shellLeave a Comment

Shell script prints rectangles

Shell script printing rectangle #!/bin/bash

for ((i=1;i<= 9;i++)) do for ((j=1;j<=9;j++)) do echo -n "*" done echo done

#!/bin/bash

for ((i=1;i<= 9;i++)) do for ((j=1;j<=9;j++)) do echo -n "*" done echo done

October 18, 2021By Simo Unix print, Rectangle, Script, shellLeave a Comment

Shell script printing and other waist triangles

Shell script printing isosceles triangle #!/bin/bash

for ((i=1;i<= 9;i++)) do for ((j=9;j>=i;j- -))
do
echo -n ” ”
done

for ((j=2;j<= i;j++)) do echo -n "*" done for ((j=1

October 18, 2021By Simo Unix and other waist triangles, print, Script, shellLeave a Comment

Shell script prints the right angle triangle

The shell script prints a right-angled triangle #! /bin/ bash

for ((i=1;i<= 9;i++)) do for ((j=1;j<=$i;j++ )) do echo -n "*" done echo done

#! /bin/bash

for ((i=1;i<= 9;i++)) do for ((j=1;j<=$i;j++ )) do echo -n "*" done echo done

October 18, 2021By Simo Unix print, right angle triangle, Script, shellLeave a Comment

Unicode characters cannot print correctly in the terminal python

I wrote a very simple program that tells me the unicode value of some characters.

This is the program:

< /p> #!/usr/bin/env python3
# -*- coding: utf-8 -*-
characters = [u’T’, u’ב ‘, u’

October 15, 2021By Simo Character printLeave a Comment

How to print a container object using a value containing Unicode?

The following code

# -*- coding: utf-8 -*-
x = (u ‘abc/αβγ’,)
print x
print x[0]
print unicode(x).encode(‘utf-8’)
print x[0]. encode(‘utf-8’) …Production:

(u’abc/αβγ’,)
abc/αβγ
(u’ab

October 15, 2021By Simo Character container, how to use, INCLUDE, object, print, Unicode, valueLeave a Comment

Dictionary print keys and the value in SWIFT 4

See the answer in English> From which direction swift starts to read dictionaries? 1 one
Hello, I tried the print dictionary project in Xcode9. Like this:

var items = [“Bear”:”0″, “Glass”:”1″

October 10, 2021By Simo Swift Dictionary, key, Medium, print, SWIFT, valueLeave a Comment

Print the variable memory address in SWIFT

Is there anyway to simulate the [NSString stringWithFormat:@”%p”,myVar] code with the new swift language?

For example:

let str = “A String”
println(” str value \(str) has address:? “)

October 10, 2021By Simo Swift Address, Medium, memory, print, SWIFT, variableLeave a Comment

Update Xcode 8 after running, you will output a bunch of things in the print station (Xcode 8 log output problem)

When using Xcode 8 to run the project, you will find the following strange log output on the print station:
2016-09-19 10:43:44.001757 Demo[7100:171568] subsystem: com.apple.UIKit, category : HIDEv

October 9, 2021By Simo IOS 8th, One Pile, Output, print, problem, running, Things, type, Update, Xcode, Ying, ZhiLeave a Comment

Posts navigation

Page 1 Page 2
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress