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

Tag: one line

One way command to achieve a CPU usage 100%

for i in `seq 1 $(cat /proc/cpuinfo |grep “physical id” |wc -l)`; do dd if=/dev/zero of=/dev/null & done

Description:

cat /proc/cpuinfo |grep “physical id” | wc- l The number of CPUs ca

October 17, 2021By Simo Os Theory 100%, CPU, Implementation, occupation, one line, order, rateLeave a Comment

C # in a row of code to implement 18-digit digital timestamps to DateTime

Original text: A line of code in C# realizes the conversion of 18-digit digital timestamp to DateTime

The time stamp data accessed is:

636728674347302002

How to convert it to Date

October 4, 2021By Simo C# @timestamp, bit, C #, code, conversion, DateTime, Implementation, Medium, Number, one lineLeave a Comment

Mysql – How to choose a line in the case of considering weight?

I have a table that looks like this:

id: primary key
content: varchar< br />weight: int What I want to do is to randomly select a row from the table, but consider the weight. For example, if

October 4, 2021By Simo Mysql choose, consider, How, in the case, mysql, one line, random, WeightLeave a Comment

Only one line ListView is filled in the QML application, why?

I am trying to create a simple QML application that will use my active chess game to get an RSS feed and do something with it. At this time I am just trying to use the feed content to fill List vie

September 27, 2021By Simo Rss Any, application, fill, idea, ListView, Medium, one line, program, QML, whyLeave a Comment

Specify which row is returned on SQLite Group

I encountered a tricky problem. I store all versions of all documents in a table. Each document has a unique id, and the version is stored as an integer. It will increment when there is a new versi

September 22, 2021By Simo Sqlite Group, one line, return, Specify, SQLITELeave a Comment

iPad – Why is UISEARCHBAR and its range buttons displayed?

I have seen Apple’s example “TableSearch”. When you touch its scope button, it will appear below the search bar.
http://developer.apple.com/iphone/library/ samplecode/TableSearch/Introduction/Int

September 22, 2021By Simo Ipad and its, button, display, iPad, one line, Range, uisearchbar, whyLeave a Comment

How do I scroll to the last line of the SQLITE model in the QTableView?

I have a Sqlite model with a few thousand rows connected to a QTableView. I can view the rows in the QTableView, but when I scroll to the bottom of the QTableView, I can only reach the first few hu

September 22, 2021By Simo Sqlite final, How to, Medium, model, one line, qtableview, scrolling, SQLITELeave a Comment
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