7
1 When Darius had been the emperor for almost four years, on the fourth day of Kislev (which was the ninth month in their calendar), Yahweh gave me another message.
2 The people of the city of Bethel sent two men, Sharezer and Regem Melech, along with some other men, to the temple of Yahweh, Commander of the angel armies, to request that Yahweh be kind to them.
3 They also asked the priests at Yahweh's temple and the prophets this question: "For many years, during the fifth month and during the seventh month of each year, we have mourned and fasted. Should we continue to do that?"
4 Then Yahweh, Commander of the angel armies, gave me a message.
5 He told me to say this to the priests and, in fact, to everyone in the whole land: "Tell me whom you were honoring when you did not eat but went around in dirty clothing. You were not really honoring me, were you?
6 And when you feasted at my temple, you did it just to have a good time; you did not really intend to honor me, did you?
7 This is exactly what I kept telling the former prophets to proclaim to the people, when the people in Jerusalem and the nearby towns were many and prosperous, and when people also lived in the southern Judean wilderness, and in the foothills to the west."
8 Yahweh gave another message to me:
9 "Tell the people that this is what Yahweh, Commander of the angel armies, says: 'I told you to do what is just, to act kindly and mercifully toward each other, in order to honor my covenant with you.
10 I told you not to oppress widows or orphans or foreigners or poor people. I said to not even think about doing evil to anyone else.'"
11 But the people refused to pay attention to what Yahweh had said. They refused to cooperate with him; they refused to listen to what he said.
12 He had given these messages for his Spirit to repeat to the prophets in earlier times. The prophets were meant to speak these messages to the people. But the people were very stubborn; they would not listen to the law of Moses or to any message from God. So Yahweh, Commander of the angel armies, became very angry with them.
13 In those times, when Yahweh, Commander of the angel armies, called to the people, they refused to listen. So he said, "In exactly the same way, I will refuse to listen when they call to me.
14 And I will scatter them among many nations, nations that they have never been to before. I will scatter them as a storm scatters leaves. After they are gone, their own land will be empty, with no one living there. No one will travel through it and no one will come back to it, because they have turned it, their most pleasant land, into a wilderness."


This post is mostly for my own recognition, but it might interest some of my readers (potential OS X switchers come to mind).
I will try to list the “must-have” applications on your fresh OS X, it’s been a while since switched (although I still use various Linux distros regulary).
Here goes
- Adium - Good IM client, supports alot of protocols. (nice integration with growl to)
- Backup - Apples backup software, quite good. I use this for daily/weekly backups to a external hard-drive
- Bluephone Elite - Combined with Growl, displays caller id. mutes itunes, dial directly from the app.. Well worth the bucks
- Chicken of the VNC - VNC Client
- Cocoamysql - MySQL frontend, used in conjunction with the tools availible from mysql.com
- Fink - Install/manage installations (kind of like APT)
- Fugu - SCP client
- Growl - Global notification system, I have several plugins activated (mail, itunes etc)
- Keynote - Apple’s version of powerpoint, presentation tool done right!
- NetNewsWire - Great RSS client, I use it in conjunction with Bloglines (yes, it supports fetching of your bloglines subscription). I keep all my subcriptions at Bloglines, that way I always have updated subscriptions.
- Omnigraffle - Nice tool (allot like MS Visio), good for the occasional non-UML diagram (like org. charts etc)
- Pathfinder - Finder replacement, filemanagement done right.. well worth the bucks!
- Remote Desktop Connection - Connect to MS terminal servers
- Salling Clicker - Bluetooth remote tool, very handy for controling keynotes
- skEdit - A good html-editor
- Stuffit (For extracting files, mostly the occasionaly .sit file)
- SubEthaEdit - My texteditor of choice, also incorporates nice colaboration features.
- Transmit - Ftp client, really good
- Virtue - Virtual Desktop manager
- VLC - All purpose media-playerDevtools such as IDE’s, app-servers and such are left out.. :) I believe my readers will know what and were to get them.. And I have probably missed some software.


Feedback
Importing data from a legacy database to an API
soyuka - Antoine Bluchet
https://keybase.io/soyuka-
Open source
PM2 (nodejs)
api-platform
my own modules (dpicker, rxrest, relieve, pidusage...)
-
Skills
PHP (+10 years)
nodejs (+4 years)
javascript (+6 years)
Ds-Restauration
- Founded 1968
- 660 Employees
- 160 Trucks
- 30,000 Customers
- 4,000 / day Orders (x2, x3 on christmas)
- 2500 Products
Legacy?
The current state of our legacy application.
Internal development team
- Good understanding of the company needs
- Database model close to the business
- Close to the end users
- Fast bug resolutions
- Build Features that matters
API Platform FTW
"We've started to use it for migrating our monolithic app to separated UI's. Massively reduced our dev time so far. Really impressed
/**
* @ApiResource
* @ORM\Entity
* @ORM\Table(uniqueConstraints={@ORM\UniqueConstraint(name="Codeidx", columns={"code"})})
*/
class Product
{
use Timestampable;
use Blameable;
/**
* @ORM\Id
* @ORM\Column(type="integer", name="id")
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @ORM\Column(type="string", nullable=false, name="code")
* @ApiFilter(SearchFilter::class, strategy="exact")
*/
public $code;
/**
* @ORM\ManyToOne(targetEntity="Product\ProductBundle\Entity\Category")
* @ORM\JoinColumn(name="category_id", referencedColumnName="id", nullable=false)
*/
public $category;
//...
}
What about data?
The first issue about legacy data is to find a unique identifier.
$identity
Later, those will be mentioned as `$identity`, each belonging to a `$resource`.
$resource
And now, how do we transfer the data?
Research (part 1)
A seed system - SoyukaSeedBundle
-
Two steps
- 1. Read from the legacy database
- 2. Write to the new database (via Doctrine)
-
Observation
- - Lot of code to write
- - Hard to maintain between php, sql etc.
Research (part 2)
KISS - use JSON files
- 1. Read data from the legacy database
- 2. Write the data in JSON files
- 3. Send the JSON data to the API via POST requests
When
Meets
1. Export data from the legacy database
Read data from the database and write it in a json file:
const JSONStream = require('JSONStream')
const pump = require('pump')
const readable = connection.queryStream('SELECT category FROM PRO')
const writeable = require('fs').createWriteStream('product_products.json')
pump(readable, transformData(), JSONStream.stringify(), writeable, function(err) {})
The function "transformData" uses the following mapping:
module.exports = {
table: 'PRO',
where: `TYPPRO IN('FRS', 'SUR')`,
mapping: {
name: 'NOMPRO',
code: 'CODE',
$identity: (data) => { return {code: data.CODE}},
category: (data) => { return {$identity: {slug: data.TYPPRO}, $resource: 'product_categories'} }
}
}
/mapping/products/product_products.js
Which resolves in this output:
[
{
"code": "00001",
"name": "LANGUE BOEUF PREC. AMS 4/900G",
"$identity": {"code": "00001"},
"category": {"$identity": {"slug": "SUR"}, "$resource": "product_categories"}
},
{
"code": "00010",
"name": "STEAK HACHE CHARAL UE 15% 100G",
"$identity": {"code": "00010"},
"category": {"$identity": {"slug": "SUR"}, "$resource": "product_categories"}
}
]
/data/products/product_products.json
▾ mapping/
▾ Product/
▾ ProductBundle/
product_marketing_families.js
product_packaging_wrap_labels.js
product_portion_labels.js
product_product_internal_organizations.js
product_product_to_packagings.js
product_product_to_technical_sheets.js
product_products.js
product_quality_labels.js
product_referencings.js
▾ data/
▾ Product/
▾ ProductBundle/
product_marketing_families.json
product_packaging_wrap_labels.json
product_portion_labels.json
product_product_internal_organizations.json
product_product_to_packagings.json
product_product_to_technical_sheets.json
product_products.json
product_quality_labels.json
product_referencings.json
2. Import the data back through the API
Find existing data or relations from the API
function findOne ($resource, $identity) {
return rxrest.all($resource)
.get($identity)
.observe(() => {})
.then((data) => {
const l = data.length
if (l === 0) {
return null
}
if (l > 1) {
return Promise.reject(new ReferenceError(`Whoops too many data found on ${$resource} with identity ${JSON.stringify($identity)} (${l} lines)`))
}
return data[0]
})
}
For example, the previous `category` will request `GET /api/product_categories?slug=FRS` to get the correct identifer for the category relation
Send data via `POST` requests
return bluebird.props({
// check if the line exists
existing: findOne($resource, line.$identity),
// calls findOne when $identity and $resource fields are present
line: computeRelations(line)
})
.then((lineProps) => {
if (lineProps.existing !== null) {
console.log('%s already has an entry for %j', $resource, line)
return Promise.resolve()
}
line = lineProps.line
delete line.$identity // remove metadata
console.log('Creating new %s with data %j', $resource, line)
return rxrest.all($resource).post(line).observe(() => {})
})
This is executed over an asynchronous loop on every item (`line`) of the JSON collection
Drawback
- Theoretically slower then SQL => SQL. However not that slower compared to the seed bundle.
- Managing relations can be complicated (resolved in a 2-pass flow)
Benefit
- Tests your API, routes and "serialization" groups
- Gives a look on your API performances under heavy load
- API validation rules will apply (less data integrity errors)
- Files allows easier debugging and can be re-used
- No code to write (whole integration system is < 400 lines)


ADRENALIN: FEAR THE RUSH A film review by James Berardinelli Copyright 1996 James Berardinelli
RATING (0 TO 10): 0.5 Alternative Scale: no stars out of ****
United States, 1996 U.S. Release Date: 12/6/96 (limited) Running Length: 1:15 MPAA Classification: R (Violence, profanity, gore) Theatrical Aspect Ratio: 2.25:1
Cast: Christopher Lambert, Natasha Henstridge, Elizabeth Barondes, Xavier Declie, Norbert Weisser, Craig Davis Director: Albert Pyun Producers: Tom Karnowski, Gary Schmoeller Screenplay: Albert Pyun Cinematography: George Mooradian Music: Anthony Riparetti U.S. Distributor: Dimension Films
With the title of ADRENALIN: FEAR THE RUSH, I wasn't quite sure what to expect from this film, but it certainly wasn't the newest entry onto my "worst movies of all time" list. Even the presence of wooden actor Christopher Lambert (one of only a few performers in Hollywood to rival Steven Seagal for lack of discernible acting talent) and writer/director Albert Pyun (the man who gave us, among other immortal films, BRAINSMASHER... A LOVE STORY) didn't create expectations of a motion picture that sinks to such memorable depths.
I have no idea how this film got its title, or why the word "adrenaline" is misspelled. (Actually, the fact that the movie was made in Slovakia probably has something to do with the error.) There's certainly nothing in here that's likely to jolt anyone, and even the typical, cheesy scares offered by low-budget horror flicks are ruined by Pyun's heavy-handed direction. If anything, even at only seventy-five minutes in length, the movie is more apt to put viewers to sleep than keep them awake.
The tired premise, which uses a recycled post-apocalyptic scenario, involves a bizarre psycho mutant killer on the loose in 2007 Boston. Following some sort of radiation leak in the former Soviet Union, a plague-like contamination has spread throughout Europe, eventually reaching the United States via immigrants. In an attempt to contain the disease, the U.S. government has segregated all newcomers into concentration camps. Over a few short years, as the population of these camps has ballooned, they have developed into small cities, complete with governments, police forces, and overwhelming poverty.
Of course, this is all background. The real story is about a group of four intrepid cops in Immigrant Boston chasing a homicidal mutant through sewers, air vents, and dank, disused prison corridors. This chase, which generates absolutely no tension, comprises the entire movie. There are no tangents, interesting variations, or anything else to break the monotony. In fact, there's not even much dialogue, and what little there is makes the tripe from Sylvester Stallone's DAYLIGHT seem like Shakespeare.
Attention to detail is not exactly ADRENALIN's forte, either. All of the police cars in Boston look like Yugos and have the word "Policia" stamped on them. Why "Policia" instead of "Police"? Who knows. Who cares. One character apparently comes back from the dead without a word of explanation. Other characters are still around, alive and kicking, after getting riddled with about a dozen bullets. If I tried to list all the holes, inconsistencies, and other obvious problems with this movie, it would take me the rest of the week to write this review.
 This guy looks like Quasimodo on a bad day. "Awful" doesn't even begin to describe the makeup job; Disney's recent Hunchback looked better, and he was a cartoon. And, on top of that, we're expected to believe that this creature, with only a hand blade, has the ability to snuff out dozens of men and women, some of whom are armed? Of course, considering the intelligence (or lack thereof) of the characters we're exposed to, maybe that's not such a farfetched concept.
I realize that aficionados of this genre don't expect much from their films, but ADRENALIN takes ineptness to new levels. Christopher Lambert fans (are there such people?) aren't likely to be happy, since he doesn't get much of a chance to act heroic (he grunts, groans, shouts, gets shot, then grunts and groans some more). Natasha Henstridge fans will probably be equally disappointed, since, unlike in SPECIES, she keeps all her clothes on. In fact, I'm hard-pressed to think of anyone who will appreciate this movie, unless it's someone who adores really, really bad movies. Thus far, 1996 hasn't given us anything else that's in ADRENALIN's category. Hands down, I nominate this as the worst movie of the year.
- James Berardinelli e-mail<EMAIL_ADDRESS>ReelViews web site: http://www.cybernex.net/~berardin
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


This demo shows how Web Workers can be used to make websites more responsive by offloading CPU-intensive work from the main thread. The source code is available on GitHub.
Try generating a color palette from a given image both with and without a worker. Notice that without a worker, the time freezes during the processing, and you can no longer interact with the form.
The current time is:


Syllabus
PLANNING AND ORGANIZING FOR MIS:-Information planning, Information needs of an organization, Parts of Planning function, Steps in Process of Strategic Planning, Organization Systems .
Planning
- Planning is deciding what to do before you do it.
- In MIS, the information is recognized as a major resource like
capital and time. If this resource has to be managed well, it calls
upon the management to plan for it and control it, so that the
information becomes a vital resource for the system.
- The management information system needs good planning.
- This system should deal with the management information not
with data processing alone.
- It should provide support for the management planning, decisionmaking
and action.
- It should provide support to the changing needs of business
management.
Planning for MIS
MIS design and development process has to address the following issues successfully:
- There should be effective communication between the developers and users of the system.
- There should be synchronization in understanding of management, processes and IT among the users
as well as the developers.
- Understanding of the information needs of managers from different functional areas and combining
these needs into a single integrated system.
- Creating a unified MIS covering the entire organization will lead to a more economical, faster and
more integrated system, however it will increase in design complexity manifold.
- The MIS has to be interacting with the complex environment comprising all other sub-systems in the
overall information system of the organization. So, it is extremely necessary to understand and
define the requirements of MIS in the context of the organization.
- It should keep pace with changes in environment, changing demands of the customers and growing
competition.
- It should utilize fast developing in IT capabilities in the best possible ways.
- Cost and time of installing such advanced IT-based systems is high, so there should not be a need
for frequent and major modifications.
- It should take care of not only the users i.e., the managers but also other stakeholders like
employees, customers and suppliers.
- Once the organizational planning stage is over, the designer of the system should take
the following strategic decisions for the achievement of MIS goals and objectives:
- Development Strategy: Example - an online, real-time batch.
- System Development Strategy: Designer selects an approach to system development like
operational verses functional, accounting verses analysis.
- Resources for the Development: Designer has to select resources. Resources can be inhouse
verses external, customized or use of package.
- Manpower Composition: The staffs should have analysts, and programmers.
Information planning.
Information system planning essentially involves:
- Identification of the stage of information system in the organization.
- Identification of the application of organizational IS.
- Evolution of each of this application based on the established evolution criteria.
- Establishing a priority ranking for these applications.
- Determining the optimum architecture of IS for serving the top priority applications.
Information needs of an organization
Three methodologies can be adopted to determine the requirements in developing a management information
system for any organization:
(I)Business Systems Planning (BSP) -- This methodology is developed by IBM.
- It identifies the IS priorities of the organization and focuses on the way data is maintained in the system.
- It uses data architecture supporting multiple applications.
- It defines data classes using different matrices to establish relationships among the organization, its
processes and data requirements.
(II) Critical Success Factor (CSF) -- This methodology is developed by John Rockart of MIT.
- It identifies the key business goals and strategies of each manager as well as that of the business.
- Next, it looks for the critical success factors underlying these goals.
- Measure of CSF effectiveness becomes an input for defining the information system requirements.
(III) End/Means (E/M) analysis -- This methodology is developed by Wetherbe and Davis at the University of Minnesota.
- It determines the effectiveness criteria for outputs and efficiency criteria for the processes generating the outputs.
- At first it identifies the outputs or services provided by the business processes.
- Then it describes the factors that make these outputs effective for the user.
- Finally it selects the information needed to evaluate the effectiveness of outputs.
Organizational planning process
Evaluating what they have accomplished and what they have acquired
Analyzing their environment.
Anticipating future developments.
Deciding on what goals they want to achieve.
Deciding what actions to take to achieve their goals.
Planning Process
Steps of Information system planning
Mission:Reason for being -it is a statement of the basic purpose or purposes for which the organization exists. eg. "to supply the energy to the consumer"
Goals:
General statement of what is to be accomplished. eg."reduce time to respond to service request without increasing number of service personnel"
Strategies:
General approaches to achieving goals. eg."becoming low cost producer in its industry"
Objectives:
Statement of measurable results to be achieved. eg."specific increases in earning per share"
Tactics:
More specific guides to actions that would implement strategies. eg."increasing investment in automation"
Policy:
General guidelines that direct & constrain decision making within a organization. eg."promoting from within"
Rules & Procedures:
More specific statements that direct decision making. eg."hiring employees,rules protecting employees jobs."
Role of top management in IS planning
- Recognize IT as an indispensible resource.
- Understand that IT is a complex resource.
- Regard IT as owned by the entire organization.
- Regard ISs as a source for gaining strategic goals.
- View ISs as a tool to control power
MIS PLANNING
Steps in Process of Strategic Planning
TACTICAL PLANNING
OPERATIONAL PLANNING
MIS Planning Methodology
- Business System Planning (BSP)
- Critical Success Factors (CSF)
- Strategic Information Planning
- Nolan stage model of growth
BSP (IBM)
Information Architecture
- IA provides a blue print for IT infrastructure in an organization.
- It integrates business strategy and IS strategy
- What, When, Where, and How
Information Architecture
IA is develop to meet the following requirements:
Support the information flows.
Facilitate communication between people.
Enable management to rethink business strategies.
Weaknesses of BSP Method
- BSP requires a firm commitment from the top management and their substantial involvement.
- It requires high degree of IT experience within the BSP planning team.
- There is a problem of bridging the gap between top down planning and bottom up implementation.
- It does not incorporate a software design methodology
- It is time consumable methods and effort required for its successful implementation.
CSF (John Rockert)
CSF (John Rockert)
Weaknesses of CSF method
- It does not define information architecture.
- CSFs partly reflect a particular executives management styles.
- There is more potential errors in the process of extracting individual CSFs and combining them into a common set of critical factors for organizational success.
Strategic Information Planning (Arthur Andersen & Co.s)
STRATEGIC PLANNING METHODOLOGY
General Approach
(I) Analytical Process and Systems Approach
Defining problems.
Identifying causes.
Describing alternatives and opportunities.
Investigating solutions.
Presenting findings, conclusions, and recommendations.
(II) Action Plan
Making decisions.
Planning projects.
Implementing solution(s).
STRATEGIC PLANNING METHODOLOGY Four Distinct Phases
STRATEGIC PLANNING METHODOLOGY Phase I Data Collection
STRATEGIC PLANNING METHODOLOGY Phase II Data Diagnosis
STRATEGIC PLANNING METHODOLOGY Phase III Strategy Formulation
STRATEGIC PLANNING METHODOLOGY Phase IV Implementation Planning
STRATEGIC PLANNING METHODOLOGY
Challenges in IS Planning
- Foreseeing the future
- Difficulty in Communicating between user and syste m personnel
- Ensuring fit between business strategy and IS strategy.
- Difficulty in developing complex systems.
- Difficulty in Maintaining IS Performance.


gretty {
webappCopy { CopySpec copySpec ->
// ...
}
}
Since version 1.1.2 Gretty can filter files in "src/main/webapp" the same way as processResources can filter files in "src/main/resources".
gretty {
webappCopy { CopySpec copySpec ->
// ...
}
}
here webappCopy is a closure, accepting org.gradle.api.file.CopySpec as a parameter.
webappCopy closure is automatically invoked when:
gradle performs one of Gretty run tasks
gradle builds WAR file
gradle builds a product
|
Tip
|
There’s no need to duplicate CopySpec-specific code in gretty and War task. You can hold all filtering code in gretty.webappCopy. Gretty automatically reconfigures War task with gretty.webappCopy. |
Gretty sources contain example program demonstrating web-app filtering at work.


Advanced usage¶
Clones¶
When a jail is cloned, iocell creates a ZFS clone filesystem. In a nutshell clones are cheap lightweight writable snapshots.
A clone depends on its source snapshot and filesystem. If you’d like to destroy the source jail and preserve its clones you need to promote the clone first, otherwise the source jail cannot be destroyed.
Create a clone¶
To clone www01 to www02 run:
iocell clone www01 tag=www02
To clone a jail from an existing snapshot:
iocell clone www01@snapshotname tag=www03
Promoting a clone¶
To promote a cloned jail, simply run:
iocell promote UUID | TAG
The above step will reverse the clone and source jail relationship. Basically the clone will become the source and the source jail will be demoted to a clone.
Now you can remove the demoted jail with:
iocell destroy UUID | TAG
Updating jails¶
Updates are handled with the freebsd-update(8) utility. Jails can be updated while they are stopped or running.
To update a jail to latest patch level run:
iocell update UUID | TAG
This will create a back-out snapshot of the jail automatically.
When finished with updating and the jail is working OK, simply remove the snapshot:
iocell snapremove UUID|TAG@snapshotname
In case the update breaks the jail, simply revert back to the snapshot:
iocell rollback UUID|TAG@snapshotname
If you’d like to test updating without affecting a jail, create a clone and update the clone the same way as outlined above.
To clone run:
iocell clone UUID|TAG tag=testupdate
Upgrading jails¶
Upgrades are handled with the freebsd-update(8) utility. By default the upgrade command will try to upgrade the jail to the hosts RELEASE version (uname -r).
Based on the jail “type” property, upgrades are handled differently for basejails and non basejails.
Upgrade non-basejail¶
To upgrade a normal jail (non basejail) to the hosts RELEASE run:
iocell upgrade UUID | TAG
This will upgrade the jail to the same RELEASE as the host.
To upgrade to a specific release run:
iocell upgrade UUID|TAG release=10.1-RELEASE
Upgrade basejail¶
To upgrade a basejail:
Verify whether the jail is a basejail:
iocell get type UUID|TAG
Should return type “basejail”.
The upgrade can be forced while the jail is online with executing:
iocell upgrade UUID|TAG
This will forcibly re-clone the basejail filesystems while the jail is running (no downtime) and update the jails /etc with the changes from the new RELEASE.
iocell set release=10.1-RELEASE UUID|TAG
This will cause the jail to re-clone its filesystems from 10.1-RELEASE on next jail start. This will not update the jails /etc files with changes from the next RELEASE.
Auto boot¶
Make sure iocell_enable="YES"
is set in /etc/rc.conf
.
To enable a jail to auto-boot during a boot, simply run:
iocell set boot=on UUID|TAG
Boot priority¶
Boot order can be specified by setting the priority value:
iocell set priority=20 UUID|TAG
Lower value means higher boot priority.
Snapshot management¶
iocell supports transparent ZFS snapshot management out of the box. Snapshots are point-in-time copies of data, a safety point to which a jail can be reverted at any time. Initially snapshots take up almost no space as only changing data is recorded.
List snapshots for a jail with:
iocell snaplist UUID|TAG
To create a new snapshot run:
iocell snapshot UUID|TAG
This will create a snapshot based on current time.
If you’d like to create a snapshot with custom naming run:
iocell snapshot UUID|TAG@mysnapshotname
Resource limits¶
iocell can enable optional resource limits for a jail. The outlined procedure should provide enough for a decent starting point.
Limit core or thread¶
Limit a jail to a single thread or core number 1:
iocell set cpuset=1 UUID|TAG
iocell start UUID|TAG
Limit DRAM use¶
Limit a jail to 4G DRAM memory use (limit RSS memory use can be done on-the-fly):
iocell set memoryuse=4G:deny UUID|TAG
Limit CPU use by %¶
Limit CPU execution to 20%:
iocell set pcpu=20:deny UUID|TAG
iocell cap UUID|TAG
Check limits:
iocell limits UUID | TAG
Resetting a jail’s properties¶
If you have many properties on a jail that you would like to reset back to defaults, iocell easily allows that!
To reset to defaults:
iocell reset UUID | TAG
You can also reset every jail to the default properties:
iocell reset ALL
Resetting a jail will retain the jails UUID and TAG. Everything else will be lost. Make sure to set any custom properties back that you need. If you have set anything via iocell set PROPERTY default
You have nothing left to do!
Automatic package installation¶
Packages can be installed automatically at creation time!
Specify the pkglist
property at creation time, which should point to a text file
containing one package name per line. Please note you need to have Internet
connection for this to work as pkg install
will try to get the packages from
online repositories.
Example:
Create a pkgs.txt file and add package names to it.
pkgs.txt
:
nginx tmux
Now simply create a jail and supply the pkgs.txt file:
iocell create pkglist=/path-to/pkgs.txt tag=myjail
This will install nginx
and tmux
in the newly created jail.


Data fields
Data access
:
paths
Delete functions
Insert functions
Iterate functions
List functions
Search functions
Update functions


Toggle navigation
Colla-board-ate
Boards
About
{{ boardName }}
Signout
Dropdown
Action
Another action
Something else here
Separated link
pick a colour
replay
New Board
Clear Board


Toggle navigation
HOME
GALLERY
PHOTO PACKAGE
CONTACT US
GALLERY
Prewedding
Wedding
Graduation
Baby
Group
Maternity
❮
❯


--- layout: post title: Cool Git Tricks date: 2012-09-03 13:45:53.000000000 -07:00 type: post published: true status: publish categories: tags: [] meta: _edit_last: '1' author: login: admin email<EMAIL_ADDRESS>display_name: admin first_name: Carina C. last_name: Zon ---
At the last Women Who Code Lightening Talks, I presented "Cool Git Tricks (That I learn when things go badly)", a quick and cheeky intro to some very handy features that even experienced users are frequently unaware of. [SLIDES] [VIDEO]
Many said their favorite trick was the custom shell prompt (see the slides for how great this is). They were awed that you can do that.
Me too. I'd first seen it in "McCullough and Berglund on Mastering Git", and had to know how the heck Matthew McCullough made his insaaaaane prompt. You've got to see it in action.
In fact, see the whole 5-hour video while you're at it. Great for anyone who's been banging their head against Git for a while. Earlier this year the team released a 4-hour followup to it, McCullough and Berglund on Mastering Advanced Git.
After seeing my Cool Git Tricks presentation, Chiu-Ki Chan was inspired to create her own Git prompt and showed code examples of what she'd done. Here's a Gist of the code for mine, while we're at it:
Have fun playing with the examples Chiu-Ki and I have given. Here's code for Matthew McCullough's Bash shell prompt too while we're at it.
Learning how to customize your prompt like this is a tantalizing preview of what Git's low-level "plumbing" makes possible.


Firstname=
Lastname=
Enter the Marks of 5 Subjects
Enter Marks out of
CPP =
Enter Marks out of
C =
Enter Marks out of
Java =
Enter Marks out of
Python =
Enter Marks out of
HTML =
Total Marks are =
Percentage are=


So this was going to be like any other experience i've had with ephedra up till now, or so I thought.
I had bought a bottle of yellow jackets in my local smartshop, never had that specific brand of ephedra before but figured it was the same thing I was used to dose wise. I even checked with the vendor to be sure, and he assured me it was the same. I'm used to taking anywhere from 4 to 9 pills for a pleasant buzz, decided I wanted a mild pick me up this saturday morning so downed 4 yellow jackets with a cold beer, rolled a joint and sat on my balcony enjoying the summer sun.
After some 30 minutes the usual effects came on, quite enjoyably. Stayed like that for another 30-45 minutes, and then it happened.
I started feeling very heavy and slightly nauseous, started sweating like a pig, felt hot and cold flashes and knew where this was going, and where i was going: the bathroom, to try and throw up and get this over with. While hanging over the sink feeling all the strength being sucked out of me the only thought in my mind was 'waay too much waay too much waay too much' over and over, tried to make myself throw up but couldn't because my stomach was clenched up like a fist. Decided to lay on the bathroom floor for a while waiting it out and while thinking 'this feels a bit better' i had to stop myself from passing out.
I got up after a few minutes, feeling dizzy but somewhat better, and took a shower to wash the sweat off.
When i got out of the shower i felt extremely lethargic and found it impossible to concentrate on anything. The distinct ephedra buzz was there alright, but it wasn't very pleasant at all.
Decided to crawl into bed to relax a bit and spent the next few hours in my bed without having any specific train of thought, with my heart pounding and racing, my body vibrating, and feeling my heartbeat like a jackhammer throughout my entire body. I knew this wasn't a good reaction at all but figured i just had to ride this one out best i could.
About 6 hours after ingestion i got up, had a joint to try and calm me down a bit, and i felt it would be wise to take a walk outside and get some fresh air. Didn't feel very well, but manageable.
After two more hours of sitting around feeling restless, numb, unfocussed and with my heart working overtime, the yellow jackets finally released their iron grip, and i began feeling a bit better. Managed to get in half a pizza and started feeling a little less lethargic.
Now, 11 hours after ingestion, i'm quite energetic and reasonably relaxed, still feeling a (quite pleasant) ephedra buzz, drinking a beer and smoking a joint to calm me down.
The thing that got me with this particular experience is that, although i used to consider ephedra a very mild and predictable drug, the moment these yellow jackets floored me, i felt and thought very distinctly 'this is really really wrong'. That thought didn't leave my head the whole while. Never had that alarming feeling with any other drug before although i consider myself a reasonably experienced user. All in all this experience was much more unpleasant and draining on a physical level than on a mental level.
I'm very glad i was wise enough to stick to 4 pills, i shudder to think what this experience would have been like on 9 pills. Probably 911-time. I think i finally experienced the dangerous side of ephedra, and feel pretty humbled by it.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Hello! I'm Ganeshbabu Thavasimuthu. My friends call me, "Ganesh"!
I am from India. I have graduated in top 10% in my four-year Computer Science undergraduate degree in Anna University, India. Following that, I have successfully led and delivered many client projects and assets during my journey as Full Stack Developer at Sirius. Adding to that, I was the guest speaker for a technical presentation at IBM Connect 2016 conference held in Florida. I have also participated and won prizes at hackathons in India. It has always been my passion to be a Software Engineer.
On May 2018, I graduated with Master's in Computer Science (4.0 GPA) from University of Texas, Arlington. During these two years (Aug 2016 - May 2018), I had several roles and responsibilities outside of academics. I was GRA for Library Systems and Technology Department, President of ACM UTA Student Chapter and Volunteer for MavStandup. Moreover, I won awards and prizes in the HackTX and MLH Prime Southwest Regional hackathons representing UTA.
On Jun 2018, I joined Fujitsu Network Communications, Richardson, Texas as Software Development Engineer II. In the last few months, I have developed unit tests using Google Test framework for a state machine which has 18 states and about 40 possible transitions. I have also automated 12 test cases using Warrior, an open source automation framework. Right now I am working on predicting equipment fault by analyzing the bit patterns for every half a second in several registers in real time. In parallel, I am also developing a solution using ELK stack for log analysis.
Operating Systems
Arch Linux CentOS Ubuntu OS X WindowsProgramming Languages
Java JavaScript Python CWeb and Mobile
HTML CSS PHP Node.JS AngularJS Android SDKCloud Technologies
Amazon Web Services Microsoft Azure IBM Bluemix HerokuDatabases
MySQL Postgres MongoDBYou can reach me over email, facebook, linkedin and twitter.


Let us know a little about your problem to help us prepare for your appt.
Laptop
Desktop
Mobile Device
Apple
PC
Other
Apple
Android
Windows
Software
Hardware
Unknown
First Name:
Last Name:
Email:
Date:
Time:
Reserve Appointment


Alex reappears: "You were not authorized to take anything! You have to leave now!"
It is very hard to breathe now, but I swim as fast as I can
to the surface. Once I reach the shore, gasping for air, the lagoon
begins to drain. Almost as quickly as I dove into it before,
the water is gone.


webstorm
The JetBrains JavaScript IDE.
More information: home page
- Open the current directory in WebStorm:
webstorm
- Open a specific directory in WebStorm:
webstorm path/to/directory
- Open specific files in the LightEdit mode:
webstorm -e path/to/file1 path/to/file2 ...
- Open and wait until done editing a specific file in the LightEdit mode:
webstorm --wait -e path/to/file
- Open a file with the cursor at the specific line:
webstorm --line line_number path/to/file
- Open and compare files (supports up to 3 files):
webstorm diff path/to/file1 path/to/file2
- Open and perform a three-way merge:
webstorm merge path/to/left_file path/to/right_file path/to/target_file


[§103D-103] Retention of written determinations. Written determinations required by this chapter shall be retained in the appropriate official files of the chief procurement officer or in the case of delegated authority, in the files of that purchasing agency. [L Sp 1993, c 8, pt of §2]


Lazy Load is a great idea, so it’s overused frequently. Do you remember that situation when you scrolled down quickly to get to the middle part and the picture wasn’t there yet?
When using a plugin, you can use a threshold/offset option to fire the thing earlier. But people can scroll fast. If someone visits a site for, let’s say, the third time and knows that the part she wants is somewhere close to the bottom, she will scroll down really, really fast.
In that kind of situations it might be better to forget about typical Lazy Load.
The simple trick that I like is to set up a couple of top images first, wait for them, than load the rest. No waiting for a user to scroll-down. The selected top images will get loaded faster than usual because they won’t share the bandwidth with others.
Here’s a very general example of the main mechanism:
function loadBottomImgs(count) {
if (count > 0) {
setTimeout( _=> {
// when last image from the TOP group is ready, load the rest
if (lastTopImg.complete) {
bottomImgs.forEach( el => {
el.src = el.getAttribute("data-imgload");
});
// otherwise, run the function again
} else {
loadBottomImgs(count - 1);
}
}, 200); // each iteration gives top images some time
// if the last top image is not complete after all iterations,
// load the rest of images anyway
} else {
bottomImgs.forEach( el => {
el.src = el.getAttribute("data-imgload");
});
}
loadBottomImgs(10);
There are 10 available iterations. Each one waits 200ms. Then the script checks the image completion.
If the last top image is ready, the script loads the bottom images and we’re done.
If not, we have another iteration.
In case that after all iterations the last top image is still not complete, the script will load the bottom group without waiting for anything.
The iteration limit is useful when a connection is slow and a user starts to scroll down the page almost immediately. In that kind of situation speed of above the fold content is no longer a priority.
It’s not a universal method. You will need to tune the count and the setTimeout(). Anyhow, it’s good to have it in a toolbox.
(I hope it’s clear enough despite my limited English skills.)


Toggle navigation
SPECIAL
Home
Strength
Preception
Endurance
Charisma
Intelligence
Agility
Luck
Strength is a measure of raw physical power. It affects how much you can carry, and the damage of all melee attacks
20%
40%
60%
80%
100%
Hello Charlie
Hello Charlie
Hello Charlie
Hello Charlie
Hello Charlie
Hello Charlie
Hello Charlie
Hello Charlie
Hello Charlie


|
AGL
0
3D graphics library
|
Material class for entities. More...
Public Member Functions | |
| Material () | |
| Creates a material. More... | |
| ~Material () | |
| Material | operator+ (const Material &other) const |
| Mix two material. More... | |
| Material & | operator+= (const Material &other) |
| Same as operator+ but modifies the current material. More... | |
| Material | operator* (const Material &other) const |
| Mix two material. More... | |
| Material & | operator*= (const Material &other) |
| Same as operator* but modifies the current material. More... | |
| void | setColor (glm::vec4 color=glm::vec4(1)) |
| Set color for all the components. More... | |
| void | setColor (float r=1, float g=1, float b=1, float a=1) |
| Same as setColor. More... | |
| void | setColor (const Material &other) |
| Sets each color components from another Material. More... | |
| void | createTexture (const char *path=nullptr) |
| Creates a texture. More... | |
| virtual std::pair< std::string, std::string > | createShader (Entity *e=nullptr, std::vector< Light *> lights=std::vector< Light *>()) |
| Create a shader algorithmically. More... | |
| virtual void | setShader (std::string vertexShader, std::string fragmentShader) |
| Compile and set the shader for the material. More... | |
Public Attributes | |
| glm::vec4 | emission |
| Emission, self color of the material. More... | |
| glm::vec4 | ambient |
| Ambient, color due to ambient light. More... | |
| glm::vec4 | diffuse |
| Diffuse, color when light hits a surface. More... | |
| glm::vec4 | specular |
| Specular, color due to the reflection of light. More... | |
| glm::vec4 | ratios |
| float | shininess = 32 |
| Shininess, amount of light reflected by the material. More... | |
| bool | lightsEnabled = false |
| If true, no lighting calculations are done. More... | |
| bool | customShader = false |
| If true, Scene::prepare do not create shaders. More... | |
| int | shadingType = AGL_SHADING_PHONG |
| Type of shading, currently unused. More... | |
| int | tex_width = -1 |
| Width of texture,if used. More... | |
| int | tex_height = -1 |
| Height of texture, if used. More... | |
| int | tex_channel = -1 |
| Number of channels in texture, if used. More... | |
| GLubyte * | texture = nullptr |
| Pointer to texture data, if present. More... | |
| GLuint | progID = 0 |
| program ID More... | |
| GLuint | tID = 0 |
| texture ID More... | |
| GLuint | mvpID |
| MVP matrix ID. More... | |
| GLuint | mID |
| model matrix ID More... | |
| GLuint | nID |
| normal matrix ID More... | |
| GLuint | eID |
| emission color ID More... | |
| GLuint | aID |
| ambient color ID More... | |
| GLuint | dID |
| diffuse color ID More... | |
| GLuint | sID |
| specular color ID More... | |
| GLuint | gID |
| shininess color ID More... | |
| GLuint | vID |
| camera position ID More... | |
Static Public Attributes | |
| static const Material | emerald = Material(0.0215, 0.1745, 0.0215, 0.07568, 0.61424, 0.07568, 0.633, 0.727811, 0.633, 76.8) |
| static const Material | jade = Material(0.135, 0.2225, 0.1575, 0.54, 0.89, 0.63, 0.316228, 0.316228, 0.316228, 12.8) |
| static const Material | obsidian = Material(0.05375, 0.05, 0.06625, 0.18275, 0.17, 0.22525, 0.332741, 0.328634, 0.346435, 38.4) |
| static const Material | pearl = Material(0.25, 0.20725, 0.20725, 1, 0.829, 0.829, 0.296648, 0.296648, 0.296648, 11.264) |
| static const Material | ruby = Material(0.1745, 0.01175, 0.01175, 0.61424, 0.04136, 0.04136, 0.727811, 0.626959, 0.626959, 76.8) |
| static const Material | turquoise = Material(0.1, 0.18725, 0.1745, 0.396, 0.74151, 0.69102, 0.297254, 0.30829, 0.306678, 12.8) |
| static const Material | brass = Material(0.329412, 0.223529, 0.027451, 0.780392, 0.568627, 0.113725, 0.992157, 0.941176, 0.807843, 27.89743616) |
| static const Material | bronze = Material(0.2125, 0.1275, 0.054, 0.714, 0.4284, 0.18144, 0.393548, 0.271906, 0.166721, 25.6) |
| static const Material | chrome = Material(0.25, 0.25, 0.25, 0.4, 0.4, 0.4, 0.774597, 0.774597, 0.774597, 76.8) |
| static const Material | copper = Material(0.19125, 0.0735, 0.0225, 0.7038, 0.27048, 0.0828, 0.256777, 0.137622, 0.086014, 12.8) |
| static const Material | gold = Material(0.24725, 0.1995, 0.0745, 0.75164, 0.60648, 0.22648, 0.628281, 0.555802, 0.366065, 51.2) |
| static const Material | silver = Material(0.19225, 0.19225, 0.19225, 0.50754, 0.50754, 0.50754, 0.508273, 0.508273, 0.508273, 51.2) |
| static const Material | black_plastic = Material(0, 0, 0, 0.01, 0.01, 0.01, 0.50, 0.50, 0.50, 32) |
| static const Material | cyan_plastic = Material(0, 0.1, 0.06, 0, 0.50980392, 0.50980392, 0.50196078, 0.50196078, 0.50196078, 32) |
| static const Material | green_plastic = Material(0, 0, 0, 0.1, 0.35, 0.1, 0.45, 0.55, 0.45, 32) |
| static const Material | red_plastic = Material(0, 0, 0, 0.5, 0, 0, 0.7, 0.6, 0.6, 32) |
| static const Material | white_plastic = Material(0, 0, 0, 0.55, 0.55, 0.55, 0.70, 0.70, 0.70, 32) |
| static const Material | yellow_plastic = Material(0, 0, 0, 0.5, 0.5, 0, 0.60, 0.60, 0.50, 32) |
| static const Material | black_rubber = Material(0.02, 0.02, 0.02, 0.01, 0.01, 0.01, 0.4, 0.4, 0.4, 10) |
| static const Material | cyan_rubber = Material(0, 0.05, 0.05, 0.4, 0.5, 0.5, 0.04, 0.7, 0.7, 10) |
| static const Material | green_rubber = Material(0, 0.05, 0, 0.4, 0.5, 0.4, 0.04, 0.7, 0.04, 10) |
| static const Material | red_rubber = Material(0.05, 0, 0, 0.5, 0.4, 0.4, 0.7, 0.04, 0.04, 10) |
| static const Material | white_rubber = Material(0.05, 0.05, 0.05, 0.5, 0.5, 0.5, 0.7, 0.7, 0.7, 10) |
| static const Material | yellow_rubber = Material(0.05, 0.05, 0, 0.5, 0.5, 0.4, 0.7, 0.7, 0.04, 10) |
Material class for entities.
This class defines the kind of material used by the shader to render the Entity. It defines several different components (emission, ambient, diffuse and specular) for the materials or a single texture. Each of the components can be a valid color or a special color.
AGL supports several special colors for the materials. This allows for procedurally generated textures for the rendering. These colors are defined with a negative alpha value for the components. Each of these color can take several parameters, defined by values in the rgb part of the colors. These colors are hard-coded in the generated shaders, ie. they can't be animated without recreating the shaders. Available special colors are:
This is enabled by AGL_COLOR_POS2RGB. The position of the fragment is mapped to a color for the same. All the fragments are scaled between 0 to 1 and the value is used as RGB. The R, G, and B part of the color must be -1 for the corresponding coordinates (x, y, and z) to contribute to the final color. If not -1, the value is used as-is in the final color.
This is enabled by AGL_COLOR_NORM2RGB. The normal of the fragment is mapped to a color for the same. This mode requires that the normal is included with the buffers. The x, y, and z components of the normal is directly used for the R, G, and B components of the color.
This is enabled by AGL_COLOR_CHECKER. The position of the fragment is used to generate either black or white color to give a checkerboard pattern finally. The R, G, or B component must be set to -1 to use the same for the color calculation. If set to anything else, they're ignored. The equation used is \(\left(\sum_{i\text{th component of color is -1}} \left\lfloor\text{normal}_i\right\rfloor\right) \mod 2\).
| Material | ( | ) |
Creates a material.
| ~Material | ( | ) |
|
virtual |
Create a shader algorithmically.
| e | Entity, needed for which to create the position based coloring. |
| lights | All the lights in the scene. |
| void createTexture | ( | const char * | path = nullptr | ) |
Creates a texture.
| path | Path to the texture. |
If no path is provided, assumes that the texture is already loaded, else loads the texture, and loads and creates the ID.
delete
or stbi_image_free
to avoid memory leak. This might change in future. Mix two material.
| other | The material to mix with. |
This mixes two materials by multiplying the colors. The shininess is geometrically meaned.
Same as operator* but modifies the current material.
Mix two material.
| other | The material to mix with. |
This mixes two materials by averaging the colors. The shininess is geometrically meaned.
Same as operator+ but modifies the current material.
| void setColor | ( | glm::vec4 | color = glm::vec4(1) | ) |
Set color for all the components.
| color | Color for all the components. |
| void setColor | ( | float | r = 1 , |
| float | g = 1 , |
||
| float | b = 1 , |
||
| float | a = 1 |
||
| ) |
Same as setColor.
| r | Red. |
| g | Green. |
| b | Blue. |
| a | Alpha. |
| void setColor | ( | const Material & | other | ) |
|
virtual |
Compile and set the shader for the material.
| vertexShader | Vertex shader. |
| fragmentShader | Fragment shader. |
This can load shaders that were created by createShader or those loaded manually. This will also set all the required IDs automatically.
| GLuint aID |
ambient color ID
| glm::vec4 ambient |
Ambient, color due to ambient light.
| bool customShader = false |
If true, Scene::prepare do not create shaders.
| GLuint dID |
diffuse color ID
| glm::vec4 diffuse |
Diffuse, color when light hits a surface.
| GLuint eID |
emission color ID
| glm::vec4 emission |
Emission, self color of the material.
| GLuint gID |
shininess color ID
| bool lightsEnabled = false |
If true, no lighting calculations are done.
| GLuint mID |
model matrix ID
| GLuint mvpID |
MVP matrix ID.
| GLuint nID |
normal matrix ID
| GLuint progID = 0 |
program ID
| glm::vec4 ratios |
| int shadingType = AGL_SHADING_PHONG |
Type of shading, currently unused.
| float shininess = 32 |
Shininess, amount of light reflected by the material.
| GLuint sID |
specular color ID
| glm::vec4 specular |
Specular, color due to the reflection of light.
| int tex_channel = -1 |
Number of channels in texture, if used.
| int tex_height = -1 |
Height of texture, if used.
| int tex_width = -1 |
Width of texture,if used.
| GLubyte* texture = nullptr |
Pointer to texture data, if present.
| GLuint tID = 0 |
texture ID
| GLuint vID |
camera position ID


Snappers!
HOME
ABOUT
USER
CONTACT
UPLOAD
Comment Section
new comment
user name and date will go here


ResourceMan 2.0 - Gantt for Resources Management
Loading angular-gantt ...
Options
Sort
Today
Expand
Out of range
Edit
Draw
Read Only
Magnet
Daily
TimeFrames
Side
Groups
Zoom
Labels
Show
Resizable
Working
Dependencies
Enabled
Conflicts
Add Overlapping Task
Add
Data controller
Scale
Filter Rows
Filter Tasks
Filter Teams
Filter Supervisor
Date range
Task Labels
Show project
Non-working
Tree actions
Expand all
Collapse all
Scroll
Scrollable
Resources
+Add new
Project
+Add project
Views
Resource
Project
Summary
Data actions
Reload
Tracking board
Task
Developer
Project
From
To
Timeleft
Untrack
{{task.name}}
{{row.filterName}}
{{task.project}}
{{task.from | amDateFormat:'DD.MMM.YYYY'}}
{{task.to | amDateFormat:'DD.MMM.YYYY'}}
{{timeleft(task.to)}}
Gantt
{{eachdata}}


|
Bullet Collision Detection & Physics Library
|
#include <btSimpleBroadphase.h>
Public Member Functions | |
| btSimpleBroadphaseProxy () | |
| btSimpleBroadphaseProxy (const btVector3 &minpt, const btVector3 &maxpt, int shapeType, void *userPtr, int collisionFilterGroup, int collisionFilterMask) | |
| void | SetNextFree (int next) |
| int | GetNextFree () const |
| Public Member Functions inherited from btBroadphaseProxy | |
| BT_DECLARE_ALIGNED_ALLOCATOR () | |
| int | getUid () const |
| btBroadphaseProxy () | |
| btBroadphaseProxy (const btVector3 &aabbMin, const btVector3 &aabbMax, void *userPtr, int collisionFilterGroup, int collisionFilterMask) | |
Public Attributes | |
| int | m_nextFree |
| Public Attributes inherited from btBroadphaseProxy | |
| void * | m_clientObject |
| int | m_collisionFilterGroup |
| int | m_collisionFilterMask |
| int | m_uniqueId |
| btVector3 | m_aabbMin |
| btVector3 | m_aabbMax |
Additional Inherited Members | |
| Public Types inherited from btBroadphaseProxy | |
| enum | CollisionFilterGroups { DefaultFilter = 1, StaticFilter = 2, KinematicFilter = 4, DebrisFilter = 8, SensorTrigger = 16, CharacterFilter = 32, AllFilter = -1 } |
| optional filtering to cull potential collisions More... | |
| Static Public Member Functions inherited from btBroadphaseProxy | |
| static bool | isPolyhedral (int proxyType) |
| static bool | isConvex (int proxyType) |
| static bool | isNonMoving (int proxyType) |
| static bool | isConcave (int proxyType) |
| static bool | isCompound (int proxyType) |
| static bool | isSoftBody (int proxyType) |
| static bool | isInfinite (int proxyType) |
| static bool | isConvex2d (int proxyType) |
Definition at line 21 of file btSimpleBroadphase.h.
|
inline |
Definition at line 27 of file btSimpleBroadphase.h.
|
inline |
Definition at line 29 of file btSimpleBroadphase.h.
|
inline |
Definition at line 36 of file btSimpleBroadphase.h.
|
inline |
Definition at line 35 of file btSimpleBroadphase.h.
| int btSimpleBroadphaseProxy::m_nextFree |
Definition at line 23 of file btSimpleBroadphase.h.


Plugin Development FAQ
This FAQ is a topical index of questions that have been asked (and answered) on our OpenAPI forum.
Open-Source Plugins
Version Differences
- How do I replace my usage of Project.getProjectFile() in 7.0?
- How do I replace my usage of DataConstants with DataKeys in 7.0?
- How do I replace my usage of ToolWindowManager.registerToolWindow() in 7.0?
- How do I replace my usage of PsiSearchHelper.findReferences() in 7.0?
- How do I replace my usage of DelayedFileStatusProvider in 6.0?
Action System
- How do I trigger actions programmatically?
- How do I add a main menu item?
- How do I customize the “New…” menu?
- How do I customize the compiler output context menu?
- How do I get the context of an action (selected file, active project etc.)?
- How do I change the icon of an action dynamically?
- How do I add icons to the IDEA toolbar?
- Where do I get the list of built-in action IDs?
Accessing and Modifying the Source Code
- How do I find all subclasses of a class?
- How do I find all anonymous classes created in a class?
- How do I calculate the value of a string literal token?
- How do I rename or move a Java class?
- How do I build the list of all classes used by a given class or package?
- How do I insert whitespace into the PSI?
- How do I add properties to a .properties file?
- How do I find specific method calls inside a PsiMethod?
- What is the lifecycle of a PSI element?
- How do I find a file given its name (but no path)?
- How do I create a new class in the given package?
- How do I make a PsiClass extend another PsiClass?
- How do I find references to a class from non-Java files?
- How do I find the source file given the path to a .class file?
- How do I find classes with the specified non-qualified name?
- How do I find the module in which a class is located?
Working with XML and XML DOM
- How do I change the value of an XML attribute through the PSI?
- How do I add custom references to Java elements in XML files?
- How do I programmatically register a DTD or schema?
- What is the “strict” parameter in DomElement.getParentOfType()?
Code Completion
- How do I determine what type of code completion was invoked?
- How do I provide additional code completion in specific places of a Java file?
Refactoring
- How can I receive notifications about refactoring events?
- How do I show a refactoring dialog programmatically?
Run/Debug
Make/Compile
Version Control Integration
- Can I provide line status markers for files in a custom file system?
- How do I update the state of VCS actions depending on file status?
- How can I find out the module of a deleted file?
- Can I provide additional decorations for changelists in the Changes view?
- How do I report out-of-date files?
Test Framework
Plugin Architecture
- Why are the extension elements in my plugin.xml red?
- How can I read the plugin descriptor of my plugin from code?
- How do I provide a custom exception reporter for my plugin?
- How can I add the help topics of my plugin to the IntelliJ Platform help system?
- How do I get the version of IntelliJ Platform under which my plugin is running?
Editors, Documents and Files
- Why doesn’t the file change on disk after I changed it through the PSI?
- Can I hook into the file save logic?
- Can I mark a part of a file as read-only?
- How do I control what happens when the user tries to edit such a part?
- How do I implement a custom editor?
- How can I show several editors for a single file in tabs?
- Can I open an editor which has no underlying file on disk?
- How do I save the content of my custom editor when the user saves all documents?
- How do I highlight elements in a source code editor?
- How do I allow to navigate between highlighted elements using Find Next?
- How do I force code to be re-analyzed?
- How do I get the active editor instance?
- How do I get the cursor position in the current editor?
- How do I clear the read-only status of a file?
- How do I show a popup hint in an editor?
- How do I create live template-like red box edit regions in an editor?
- How can I show an editor with error highlighting in a toolwindow?
Inspections
- Can I build an inspection that processes XML files?
- Why are the inspection results shown multiple times?
- How can I provide a quick fix that creates a method?
- Is it possible to inspect only the elements that have been modified after the last full inspection?
Project Structure
- Can I add a new module dependency storage format?
- What is the Pair to be passed to JavaModuleBuilder.setSourcePaths()?
- How do I access all configured JDKs?
Custom Languages
- How do I provide Parameter Info support for my language?
- How do I provide auto-popup code completion in my language?
- How to make a closing brace unindent?
- How to automatically insert closing quotes?
- How do I provide Ctrl+mouse popups for my language?
- How do I enable debugging for my custom language which is compiled into Java?
- How do I generate virtual Java classes mirroring the classes of my language?
User Interface
- How do I provide animated status bar notifications?
- How do I enable file name completion in a combobox?
- How do I show a popup with left-aligned and right-aligned parts for each item?
- Can I use an embedded Web browser from my plugin?
- How do I provide a custom icon for files/PSI elements?
- Can I show a progress indicator for WriteActions?
- How do I make it possible to search the options of my plugin in the Settings dialog?
- How do I show a custom window or popup based on Structure View?
- Is it possible to extend the Project View tree?
- How do I show the “Project Structure” dialog programmatically?
- How do I print messages in the console view?
- How do I show the package selector dialog programmatically?
- How do I provide syntax and error highlighting in a combo box editor?
- How can I get notified when my toolwindow is activated?
- How can I provide Close and Rerun buttons in my Usage View window?
General
- How do I get the currently active project outside of an AnAction?
- How do I detect when a project is closing?
- How can I implement a custom stack trace analyzer?
- Where is the state of an ApplicationComponent stored?
- How do I open a project programmatically?
- How do I get the folder of the currently selected file?
- How do I encrypt some values in the configuration data of my plugin?
- How can I track exceptions from my plugin?
Last modified:


A service that helps you find the ideal route for your personal city tour.
Tryppr. will then suggest the most popular places in the categories Culture, Shopping and Nightlife and let you have your personal pick and creates a route.
But tryppr. does it for you in seconds!
You can use the saved time for planning your next trip.
Nevyana Angelova
Jie Lin Chen
Christian Schmitz
Google Maps Api
Ruby on Rails
Sqlite3
ES6


First, let's check if git is already installed. Open the command-promt (press start and type cmd) or git bash (press start and type git bash).
Then type the following and press enter.
git --version
If you get something similar to git version 2.19.0 it is installed!
Read on how to configure your name further down.
Download git here and run the installer. Try the above mentioned test to see if the install was sucsessfull.
Now with git installed we need to make certain git knows who we are, see if it already does by typing
git config user.name
If it responds with a name you've got everything set up.
Otherwise type
git config --global user.name "Your Name"
git config --global user.email<EMAIL_ADDRESS>First, let's check if git is already installed. Open the terminal and
then type the following and press enter.
git --version
If you get something similar to git version 2.19.0 it is installed!
Read on how to configure your name further down.
Download git here and run the installer. Try the above mentioned test to see if the install was sucsessfull.
Now with git installed we need to make certain git knows who we are, see if it already does by typing
git config user.name
If it responds with a name you've got everything set up.
Otherwise type
git config --global user.name "Your Name"
git config --global user.email<EMAIL_ADDRESS>These are instructions for Ubuntu/Debian, if you're running another system we assume you know how to find the solution yourself...
First, let's check if git is already installed. Open your terminal and
then type the following and press enter.
git --version
If you get something similar to git version 2.19.0 it is installed!
Read on how to configure your name further down.
In your terminal run
sudo apt-get update
and then
sudo apt-get install git-all
Try the above mentioned test to see if the install was sucsessfull.
Now with git installed we need to make certain git knows who we are, see if it already does by typing
git config user.name
If it responds with a name you've got everything set up.
Otherwise type
git config --global user.name "Your Name"
git config --global user.email<EMAIL_ADDRESS>git clone
As we saw in the pressentation pushing can sometimes cause errors if someone else has commited. Usually we try to run git pull
before git push
to avoid these simple errors.
Try repeating the introduction excersise but pulling before you do a push. If you forgot something the presentation is here.
GitHub is a website were git repositories can be stored, just as here on git.dhack.se. It is the largest service of it's kind, but in no way affiliated with git the software.
However since the tools hosted by GitHub are very usefull we recommend creating an account for yourself there. GitHub also has a free student license. To create your account go to github.com/join to and sign up with your chalmers email. When you have an account the student plan is enabled by visiting education.github.com/pack and klicking "Get your pack" and follow the instructions on the page.
This excercise is meant for two or more people to co-operate, find yourself a partner and follow the instructions. Also make sure you have created a GitHub account, if you haven't the excercise "GitHub Account" has instructions on how yo do that.
Now we're gonna try to co-operate as if we had been working on lab together. The instructions will not be very specific and you are more free to do what you like, but if you get stuck, don't hesitate to ask questions!
To make things easier we recommend one of you host the project on their GitHub.  That person will have to create a new repository on GitHub. Tick the "Initialize this repository with a README" checkbox to make cloning the repository a little bit easier.
Now, to allow others to push to your repository, go to project-settings by pressing the tab "Settings" with a little gear icon. Then go to Collaborators and add the others. They will get a notification on GitHub and an email with an invite link.
Now all of you clone the project and play around a bit. Try pushing and pulling as much as you can. Can you identify when you get a conflict and when you don't?
Git is a powerful tool for version control and cooperative coding. But to many it seems very complicated and hard to wrap your head around. This leads people to avoid using it properly and in turn gives them even more trouble.
This site was part of a workshop on git at Chalmers where we tried to introduce people to git in a not so frightening way. The presentation can be found here.


+++ title = "Sciacca" lat = 37.508908 lon = 13.079910 +++
Nestled in the south-west coastal corner of Sicily, Sciacca is a charming old town, famous for its artistic works of ceramics, and with breathtaking views of the Mediterranean from its refined plazas. I passed through Sciacca on my trip this afternoon, and camped in a field just past it during the night.


Real to Complex Fast Fourier Transform.
More...
|
| template<int rank> |
| array | fftR2C (const array &in, const dim4 &dims, const double norm_factor=1.0) |
| | C++ Interface for real to complex fast fourier transform for one dimensional signals.
|
| |
| template<int rank> |
| array | fftR2C (const array &in, const double norm_factor=1.0) |
| | C++ Interface for real to complex fast fourier transform for one dimensional signals.
|
| |
| AFAPI af_err | af_fft_r2c (af_array *out, const af_array in, const double norm_factor, const dim_t pad0) |
| | C Interface for real to complex fast fourier transform for one dimensional signals.
|
| |
| AFAPI af_err | af_fft2_r2c (af_array *out, const af_array in, const double norm_factor, const dim_t pad0, const dim_t pad1) |
| | C Interface for real to complex fast fourier transform for two dimensional signals.
|
| |
| AFAPI af_err | af_fft3_r2c (af_array *out, const af_array in, const double norm_factor, const dim_t pad0, const dim_t pad1, const dim_t pad2) |
| | C Interface for real to complex fast fourier transform for three dimensional signals.
|
| |
Real to Complex Fast Fourier Transform.
◆ af_fft2_r2c()
C Interface for real to complex fast fourier transform for two dimensional signals.
- Parameters
-
| [out] | out | is a complex array containing the non redundant parts of in . |
| [in] | in | is a real array |
| [in] | norm_factor | is the normalization factor with which the input is scaled after the transformation is applied |
| [in] | pad0 | is the length of output signals along first dimension - used to either truncate/pad the input |
| [in] | pad1 | is the length of output signals along second dimension - used to either truncate/pad the input |
- Returns
- AF_SUCCESS if the fft transform is successful, otherwise an appropriate error code is returned.
- Note
- The first dimension of the output will be of size (pad0 / 2) + 1. The second dimension of the output will be pad1. The remaining dimensions are unchanged.
◆ af_fft3_r2c()
C Interface for real to complex fast fourier transform for three dimensional signals.
- Parameters
-
| [out] | out | is a complex array containing the non redundant parts of in . |
| [in] | in | is a real array |
| [in] | norm_factor | is the normalization factor with which the input is scaled after the transformation is applied |
| [in] | pad0 | is the length of output signals along first dimension - used to either truncate/pad the input |
| [in] | pad1 | is the length of output signals along second dimension - used to either truncate/pad the input |
| [in] | pad2 | is the length of output signals along third dimension - used to either truncate/pad the input |
- Returns
- AF_SUCCESS if the fft transform is successful, otherwise an appropriate error code is returned.
- Note
- The first dimension of the output will be of size (pad0 / 2) + 1. The second dimension of the output will be pad1. The third dimension of the output will be pad 2.
◆ af_fft_r2c()
C Interface for real to complex fast fourier transform for one dimensional signals.
- Parameters
-
| [out] | out | is a complex array containing the non redundant parts of in . |
| [in] | in | is a real array |
| [in] | norm_factor | is the normalization factor with which the input is scaled after the transformation is applied |
| [in] | pad0 | is the length of output signals along first dimension - used to either truncate/pad the input |
- Returns
- AF_SUCCESS if the fft transform is successful, otherwise an appropriate error code is returned.
- Note
- The first dimension of the output will be of size (pad0 / 2) + 1. The remaining dimensions are unchanged.
◆ fftR2C() [1/2]
| array fftR2C |
( |
const array & |
in, |
|
|
const dim4 & |
dims, |
|
|
const double |
norm_factor = 1.0 |
|
) |
| |
C++ Interface for real to complex fast fourier transform for one dimensional signals.
- Parameters
-
| [in] | in | is a real array |
| [in] | dims | is the requested padded dimensions before the transform is applied |
| [in] | norm_factor | is the normalization factor with which the input is scaled after the transformation is applied |
- Returns
- a complex array containing the non redundant parts of
in
along the first dimension.
- Note
- The first dimension of the output will be of size (dims[0] / 2) + 1. The remaining dimensions are unchanged.
◆ fftR2C() [2/2]
| array fftR2C |
( |
const array & |
in, |
|
|
const double |
norm_factor = 1.0 |
|
) |
| |
C++ Interface for real to complex fast fourier transform for one dimensional signals.
- Parameters
-
| [in] | in | is a real array |
| [in] | norm_factor | is the normalization factor with which the input is scaled after the transformation is applied |
- Returns
- a complex array containing the non redundant parts of
in
along the first dimension.
- Note
- The first dimension of the output will be of size (in.dims(0) / 2) + 1. The remaining dimensions are unchanged.


Float values in JavaScript contain a decimal point, and there is no requirement that the decimal point be preceded or followed by a number. For example, the following are all valid JavaScript numbers:
var num = .5;
var num = 2.;
var num = -.7;
Although not a syntax error, this format for numbers can make it difficult to distinguish between true decimal numbers and the dot operator. For this reason, some recommend that you should always include a number before and after a decimal point to make it clear the intent is to create a decimal number.
This rule is aimed at eliminating floating decimal points and will warn whenever a numeric value has a decimal point but is missing a number either before or after it.
Examples of incorrect code for this rule:
/*eslint no-floating-decimal: "error"*/
var num = .5;
var num = 2.;
var num = -.7;
Examples of correct code for this rule:
/*eslint no-floating-decimal: "error"*/
var num = 0.5;
var num = 2.0;
var num = -0.7;
If you aren’t concerned about misinterpreting floating decimal point values, then you can safely turn this rule off.
This rule was introduced in ESLint 0.0.6.


In Algebra 1 you get a taste of trigonometric functions. You are probably familiar with the mnemonic “SOHCAHTOA”. The sine, cosine, and tangent of an angle can be found corresponding to the sides of a right triangle. This concept is very limited in terms of searching for angles because it only works if the angles are acute since a triangle can’t have two ninety degree angles. The concept of a right triangle is still accurate but it’s a picture that’s been zoomed. If you zoom out, you’ll see the right triangle is actually inscribed in the first quadrant of a coordinate plane. Sine and Cosine are functions that turn an angle, theta, along the perimeter of a circle with the radius of one.
In this video SAL explains how sine of theta and cosine of theta become our x and y values
If you are used to seeing cosine and sine graphed as the diagram to the left, I'm here to tell you that is indeed depicting a circle. Don't believe me? I'll prove it. Pi equals 180 degrees, 3/2 pi equals 270 degrees. Both waves are creating acircle with in a period of 2 pi which is equivalent to 360 degrees.
Never memorize the unit circle, try to understand how to derivative values of the first quadrant than change the signs of x or y depending on which quadrant the angle you are looking for falls under.
Although we can't cover every single trig identities that there is, I will divided into three recurring identities that we’ve come across in Calculus this year
Watch how Sal derives the formula from the unit circle.
Learn why Tan(θ) equals Sin(θ) divided by Cos(θ).
The reciprocal identity of cotangent is also useful to know. It is not just the reciprocal of tan but it can also be rewritten:
Cot(θ) = cos(θ)/sin(θ)
Because we have established that Tan(θ) = Sin(θ) / Cos(θ) and that Cot is the reciprocal of Tan, we can divided one by sin(θ)/cos(θ) and get cos(θ)/sin(θ)
You can find more trig identities here
Although we accredit the greek mathematician Pythagoras for this theorem, the concept of “ the sum of the squares on the legs of a right triangle is equal to the square of the hypotenuse” was utilized before Pythagoras was born. There are written accounts on Egyptian papyrus that date back to 2000 BC that contain a pythagorean triple solution. It was a crucial component to Egyptian architecture. Not only the Egyptians, but the Sumerians used it for the infrastructure of Mesopotamia. This law of nature was discovered throughout many ancient civilizations at distinctive moments in history. This law is the backbone of trigonometry and can not only be applied to several situations but can also be proven in several ways. Down below are just some of the few ways you can derive the Pythagorean theorem
This is a visual aid for Pythagorean Theorem.
James Garfield's proof of the Pythagorean Theorem.
An elegant visual proof of the Pythagorean Theorem developed by the 12th century Indian mathematician Bhaskara.
Proof of the Pythagorean Theorem using similarity


Seaoil partners with AAP
by Manila StandardAutomobile Association of the Philippines Members will soon enjoy exclusive rewards through SEAOIL VIP Club cards.
SEAOIL Philippines has officially joined the National Auto Club’s growing list of partner establishments. The agreement was signed at the AAP Tower by (from left) AAP Business Development Manager Kristine Leonardo, Chief Operating Officer Mark Desales, SEAOIL Philippines Vice President for Corporate & Consumer Marketing Jose Jaime dela Fuente, and Business Development Supervisor Jen Lemuel Co.


Essentials
The basics
€61
Per agent per month
Request a free demo
250 conversations p/m
2 channels
1 GB data storage
Everything from Forever Free
Chat widget
Realtime overview
Watermelon Academy


Ansible in a self-contained environment via Docker.
If you expect reproducible outcome of an automation system, you not only need to make sure you have a specific version of the automation system itself, but also have fixed versions of all its dependencies. The most prominent Ansible dependency which can affect your plays would be Jinja2 but this applies to all involved components.
Silo not only removes moving parts by having 100% fixed dependencies hardcoded in a Docker image. It also enables you to switch Ansible to any version without affecting other users, therefore making it easy to test your playbooks and roles against new Ansible releases and run differing Ansible versions per playbook, project or user.
Furthermore you can bundle your playbooks (incl. configuration, roles, plugins etc) in a custom Docker image which inherits Silo and therefore generate a versioned, shippable, complete and self-contained executable package which runs your playbooks in any environment. (where you have access to a Docker daemon)
This recording is powered by asciinema player and demo-magic.
To run Ansible Silo you need Docker Engine >= 1.9.
docker run --interactive --tty --rm --volume "$HOME/bin:/silo_install_path" grpn/ansible-silo:v2.0.0 --install
For detailed documentation, bug reports and contributions visit GitHub.
Copyright (c) 2017, Groupon, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
Neither the name of GROUPON nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.


Getting started
Using the library as an npm package
Install the library:
$ npm install @perlego/text-highlighter
And use it!
import TextHighlighter from '@perlego/text-highlighter';
var hltr = new TextHighlighter(document.body);
Using the library as a script in your web pages
Clone the TextHighlighter directly from GitHub.
$ git clone git@github.com:Perlego/texthighlighter.git
Ensure grunt is installed globally along with all the dev npm dependencies.
$ npm install
$ npm install -g grunt
Build the library.
$ npm run build
Copy the build/prod/TextHighlighter.min.js file into your project.
Add script file to head
section of your web page:
<script type="text/javascript" src="TextHighlighter.min.js"></script>
And use it!
var hltr = new TextHighlighter(document.body);
For more details see API reference or Wiki pages on GitHub.
Also check Demos section below for examples of usage.
Features
- Highlighting of selected text.
- Highlighting all occurrences of given text (find & highlight).
- Removing highlights.
- Selecting highlight color.
- Serialization & deserialization.
- Focusing & deselecting overlapping highlights.
- Works well in iframes.
- Keeps DOM clean.
- No dependencies (apart from core-js and regenerator-runtime for IE11). No jQuery or other libraries needed.
Compatibility
Should work in all decent browsers and IE 11. IE 11 only works if you use core-js and regenerator-runtime polyfills in your project, in the case you use the bundled and minified scripts, then the polyfills are provided for you.
Demos
Documentation
You may check API reference or Wiki pages on GitHub.


Wallpaper Slideshow Portal is an Android application source code file. This application lets you to view the images in your device as slideshow wallpaper. It is automatically placed in the Live wallpapers section. The application is packed with a variety of settings such as slide duration, scrollable images, recursive folder and more. This application has very low CPU usage and so the device performance is not affected.
After purchasing the application source code and extracting, you will find the following folders:
Install APK: Contains the WallpaperSlideshowPortal.apk application file. You can test run it in your Android device.
Project: Contains the application source code which you have to import into Eclipse and build the application.
Readme: An elaborate readme guide with instruction on how to use this file to successfully build your Android applications.
Before starting to use this source code and developing app you need to first install the following softwares to your computer. If you have already installed these softwares you can skip this step.
1. JDK 5 or above: Install Java Development Kit (JDK) 5 or greater. You can download here.
2. Eclipse IDE: You can choose Eclipse Indigo or other packages. I personally prefer Indigo. You can download here. Extract the zip file into a folder for example D:\ANDROID\Eclipse after downloading. Run eclipse.exe. On first time you will be asked for workspace directory. It is a directory where you want your android project to be stored. For now just create new folder Workspace in D:\ANDROID or any other directory as you wish.
3. Android SDK: Install android sdk. You can download here. Now you need to connect Eclipse and Android sdk. On Eclipse GUI, select Windows > Preferences menu on top. Select Android and then locate your SDK Location, on my machine it is D:\ANDROID\android-sdk, and then click Apply.
5. Environment Variables:
6. ADT Plugin for Eclipse: In Eclipse go to Help > Install New Software. Click Add button. On Add Repository window enter some name (e.g.Developer Tools) and enter location as https://dl-ssl.google.com/android/eclipse/ and then click OK. Give check to Developer Tools, then click Next button. Follow the instruction till finish.
1. Extract the downloaded archive that you have purchased in Envato.
2. Open Eclipse > Select File > Import.
3. In the Import window page select Existing Projects into Workspace under General and click Next. In the next window choose Select archive file. Press the Browse button and choose wallpaperportal.zip file present in the Project folder. Click Finish.
4. Your project will be visible on the Package Explorer.
At the left side you can see the project folder. You can edit your files from here.
Go to res/values/ directory and edit strings.xml file.
To change App name: Enter the name in the below string.
<string name="app_name">Wallpaper Slideshow Portal</string>
The application icon is present at res/drawable-(dpi)/ic_launcher.png. The icon is placed for ldpi, mdpi, hdpi and xhdpi.
Here the icon sizes:
Instead you can place only one image in drawable/ folder alone and leave other dpi specific drawable folders. But that's not the best way. I prefer placing icons matching different dpi screens.
Create your icon image with the same file name and replace the existing file. Refresh the project for changes to take effect.
Go to res/values/ directory and edit strings.xml file.
The homepage text is present at the top under the . You can see the below lines
<string name="guide"> <![CDATA[
 Wallpaper Slideshow Portal lets you to set slideshows as a live wallpaper . You can set a live wallpaper as your home screen background, by following these steps:

 1. Go to Home Screen, touch "Menu"
 2. Select "Wallpaper", then choose "Live Wallpapers"
 3. Now you can select the Live Wallpaper
 4. Press the Preview button
 5. "Apply" it or press "Settings" and configue it.
 ]]> </string>
Change these lines and you will see result in the home screen.
The home screen icon that I refer to can be seen in the below home screen snapshot:
This icon is present at res/drawable-(dpi)/homeicon.png. Just replace it with image of your choice.
Here's a screenshot of the about section.
To make modification, you need to edit in the strings.xml file present in res/values/ directory.
You can change the settings menu text for about page in the below string:
<string name="preabout_title">About Wallpaper Slideshow Portal</string>
You can change the content of About dialog box in the below string:
<string name="preabout_dialog"> <![CDATA[
Version: {VersionName}

Wallpaper Slideshow Portal lets you to turn your home screen to slideshow with images of your choice.

This app is compatible from Android 2.1 onwards.

You would definitely enjoy using Wallpaper Slideshow Portal.
 ]]> </string>
In your Android device you can find live wallpapers though... Menu > Wallpaper > Live Wallpapers.
After installing this application you can see this application thumbnail in Live wallpapers section, as shown below.
The application thumbnail is present at res/drawable/livethumb.jpg. Replace it with any image of your choice. It's better to use image with small file size so that it loads up quickly in live wallpaper section.
After customizing this app, you need to compile into an .apk file that can be installed in Android devices. Here are the steps of compiling this application.
1. Select the WallpaperPortal project in Package Explorer, Right click and select Export.
2. In Export window select Android > Export Android Application. Then, click Next button.
3. Your project name will appear in Project: box. If not, click Browse and find. Click Next button to proceed.
4. Select your keystore or create a new one. In Location, click Browse button to decide keystore name and the location of it. Give a strong password and proceed to next step.
5. Fill the key creation form and press Next.
6. Finally, click Browse button to specify the location where you want to have to the generated apk, and then click Finish. Now your application is ready. Install it. Have fun.
I have checked the application several times and it's absolutely free from errors.
In case you see any errors, do the following:
Few users may get this error while importing the application:
Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead.
Android requires compiler compliance level 5.0 or 6.0. Found '1.5' instead.
Or some similar version error.
This is a very common problem with Android development in Eclipse platform.
To fix this error:
Thanks so much to
Hearty thanks for buying my stuff. I spent a lot of time on making this application work. I like to improve it wherever I can and appreciate your feedback.
Best wishes
The CodeBhak Developer


This is happy me
Father of two, partner for life, brother and son
I am the best at modesty
Looking always for the next challenge
Always.
This is happy me
Father of two, partner for life, brother and son
I am the best at modesty
Looking always for the next challenge
Always.


// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "../../introspection/IERC165.sol";
/**
* https://eips.ethereum.org/EIPS/eip-214#specification
* From the specification:
* > Any attempts to make state-changing operations inside an execution instance with STATIC set to true will instead
* throw an exception.
* > These operations include [...], LOG0, LOG1, LOG2, [...]
*
* therefore, because this contract is staticcall'd we need to not emit events (which is how solidity-coverage works)
* solidity-coverage ignores the /mocks folder, so we duplicate its implementation here to avoid instrumenting it
*/
contract SupportsInterfaceWithLookupMock is IERC165 {
/*
* bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
*/
bytes4 public constant INTERFACE_ID_ERC165 = 0x01ffc9a7;
/**
* @dev A mapping of interface id to whether or not it's supported.
*/
mapping(bytes4 => bool) private _supportedInterfaces;
/**
* @dev A contract implementing SupportsInterfaceWithLookup
* implement ERC165 itself.
*/
constructor () public {
_registerInterface(INTERFACE_ID_ERC165);
}
/**
* @dev Implement supportsInterface(bytes4) using a lookup table.
*/
function supportsInterface(bytes4 interfaceId) public view override returns (bool) {
return _supportedInterfaces[interfaceId];
}
/**
* @dev Private method for registering an interface.
*/
function _registerInterface(bytes4 interfaceId) internal {
require(interfaceId != 0xffffffff, "ERC165InterfacesSupported: invalid interface id");
_supportedInterfaces[interfaceId] = true;
}
}
contract ERC165InterfacesSupported is SupportsInterfaceWithLookupMock {
constructor (bytes4[] memory interfaceIds) public {
for (uint256 i = 0; i < interfaceIds.length; i++) {
_registerInterface(interfaceIds[i]);
}
}
}
|


{% extends "census/base.html" %} {% load static %} {% block content %}
Thank you for supporting the Shakespeare Census!
Please read the Instructions for Librarians
and the Cataloging Guide before you begin.
|
1. Verify HoldingsWe have {{ copy_count }} copies at {{ affiliation }} waiting to be verified. When you have a moment, please look over these records to verify that your library actually holds these copies.
|
2. Edit Copy DetailsThere are {{ verified_count }} copies at {{ affiliation }} that have been verified by you and approved by the administrators. You may edit the data associated with these copies at any time. Edit existing copy information
|
3. Submit New CopiesIf you hold copies that are not in our database but should be, please navigate to the Census page for the edition you hold and click "I have an unlisted copy." Copies submitted will be automatically sent to administrators for approval. |


deliberate-practice
diy
django
forecasting
freelancing
keyboard
learning
legacy-code
negotiation
notes
- Grokking Codebases quickly
- A Moment of Enlightenment
- Detecting Duplicate Django Tests
- Book Review: Hello Startup
- Ideal Setup (WIP)
- Notes on Freelancing
- Notes on Programming
- Notes on Negotiation
- Notes: How the Economic Machine Works
- Notes on Learning
presentation
productivity
programming
python
react
review
script
self-improvement
startup
summary
tdd
visualisation
webrtc
wip


systemd-delta - Find overridden configuration files
systemd-delta [OPTIONS...] [PREFIX[/SUFFIX]|SUFFIX...]
systemd-delta may be used to identify and compare configuration files that override other configuration files. Files in /etc have highest priority, files in /run have the second highest priority, ..., files in /lib have lowest priority. Files in a directory with higher priority override files with the same name in directories of lower priority. In addition, certain configuration files can have ".d" directories which contain "drop-in" files with configuration snippets which augment the main configuration file. "Drop-in" files can be overriden in the same way by placing files with the same name in a directory of higher priority (except that in case of "drop-in" files, both the "drop-in" file name and the name of the containing directory, which corresponds to the name of the main configuration file, must match). For a fuller explanation, see systemd.unit(5).
The command line argument will be split into a prefix and a suffix. Either is optional. The prefix must be one of the directories containing configuration files (/etc, /run, /usr/lib, ...). If it is given, only overriding files contained in this directory will be shown. Otherwise, all overriding files will be shown. The suffix must be a name of a subdirectory containing configuration files like tmpfiles.d, sysctl.d or systemd/system. If it is given, only configuration files in this subdirectory (across all configuration paths) will be analyzed. Otherwise, all configuration files will be analyzed. If the commandline argument is not given at all, all configuration files will be analyzed. See below for some examples.
The following options are understood:
-t, --type=
When listing the differences, only list those that are asked for. The list itself is a comma-separated list of desired difference types.
Recognized types are:
masked
Show masked files
equivalent
Show overridden files that while overridden, do not differ in content.
redirected
Show files that are redirected to another.
overridden
Show overridden, and changed files.
extended
Show *.conf files in drop-in directories for units.
unchanged
Show unmodified files too.
--diff=
When showing modified files, when a file is overridden show a diff as well. This option takes a boolean argument. If omitted, it defaults to true.
-h, --help
Print a short help text and exit.
--version
Print a short version string and exit.
--no-pager
Do not pipe output into a pager.
To see all local configuration:
systemd-delta
To see all runtime configuration:
systemd-delta /run
To see all system unit configuration changes:
systemd-delta systemd/system
To see all runtime "drop-in" changes for system units:
systemd-delta --type=extended /run/systemd/system
On success, 0 is returned, a non-zero failure code otherwise.
systemd(1), systemd.unit(5)


BranchSession
@interface BranchSession : NSObject
Branch session parameters.
-
Undocumented
Declaration
Objective-C
+ (instancetype) sessionWithDictionary:(NSDictionary*)dictionary;
Swift
convenience init(dictionary: [AnyHashable : Any])
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSString*_Nullable sessionID
Swift
var sessionID: String? { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, assign) BOOL isFirstSession
Swift
var isFirstSession: Bool { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, assign) BOOL isBranchURL
Swift
var isBranchURL: Bool { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, assign, readonly) BOOL matchGuaranteed
Swift
var matchGuaranteed: Bool { get }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSDate* clickTimestamp
Swift
var clickTimestamp: Date { get }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSURL*_Nullable referringURL
Swift
var referringURL: URL? { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSString*_Nullable identityID
Swift
var identityID: String? { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSString*_Nullable userIdentityForDeveloper
Swift
var userIdentityForDeveloper: String? { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSString*_Nullable deviceFingerprintID
Swift
var deviceFingerprintID: String? { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSString*_Nullable linkCreationURL
Swift
var linkCreationURL: String? { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) BranchUniversalObject*_Nullable linkContent
Swift
var linkContent: BranchUniversalObject? { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) BranchLinkProperties*_Nullable linkProperties
Swift
var linkProperties: BranchLinkProperties? { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSDictionary*_Nullable data
Swift
var data: [AnyHashable : Any]? { get set }


SPEC is being run under the aegis of Electronics and Communication Department, NIT Hamirpur and the department itself has collaborated in the various activities conducted by SPEC. We organise various events, workshops, and electronics competitions for the enhancement of technical acumen of students. The society also invites various guest speakers and lecturers from around India to deliver talks during the SPEC-FEST. The society holds a prominent position among various societies present in the college. The technical events coupled with the fun bonanza, the SPEC-FEST, and other competitions conducted at regular period are major hit among the students. The team has worked for the benefits of students in past and promise to continue its contribution with full dedication in future.