A channel to discuss trading. For useful links and more info click the pinned messages to the right.
100 messages
Before 05-Dec-19 12:00 AM
fd21-Nov-18 01:33 AM
25 bucks
but
thats still a big move
ryman11221-Nov-18 01:35 AM
Seems we are all about big moves lately. Im actually kinda in shock about how this has happened. I know the market is unpredictable but damn
bishop21-Nov-18 01:37 AM
@fd lol if you want to use RSI to measure moves, I guess(edited)
BTW, just a heads up, RSI does not measure drawdown
I don't disagree that it is oversold given the steepness of the move, but this is the sickest drawdown bitcojn has ever seen is factually inaccurate
blackjok3r21-Nov-18 01:47 AM
There was only one thing predictable about this, and thta was that it was obviously going to happen
Crypto is very specualtive ...
crash of everything, we are the first to move
But also will be hte first to recover .. or at least that is what we all hope will be the case ...
Stocks have about 70% to wipe off ...
we have already fallen that much ?
ryman11221-Nov-18 02:04 AM
Scary part of this space is that it moves 1000x quicker than any other market up or down and when it gets boring and stagnant like it did we should have been saying hey this isnt normal some bad shits about to go down.
blackjok3r21-Nov-18 02:09 AM
Well tbh I was thiking like that and sold a huge part of my holdings
But as I am basically living off this atm, I had to... and I didnt sell anywhere near enough
1/4 I think got sent to fiat ... should ahve been more like half ... even if just for a rebuy in the next few days.
JimD21-Nov-18 02:30 AM
We close to the bottom yet ?
ch6ris21-Nov-18 02:32 AM
let me grab more crystals and align my aura, then I can answer that!
ch6ris21-Nov-18 02:40 AM
Ok, alignment is complete, Time is an illusion, The sun and moon are currently battling.
One force is pushing down on the inner universe and another force is pushing up.
 Im sure they’re being attacked
Alright21-Nov-18 04:28 AM
reorgs are perfectly normal
they happen on BTC literally every day
that reorg you're talking about was 2 blocks
not an attack
actionslacks21-Nov-18 05:28 AM
Well that’s disappointing.

RSI measures strength of an asset. Bitcoin is literally setting records and writing history with rsi
@bishop
it also wins in larger gross amount if market cap lost
so
tolken21-Nov-18 05:50 AM
Eth, re: only $20? Only $20... hah, well if eth doesn’t want that $20, kmd could sure use it. Seems like a fair trade.
Lumbi21-Nov-18 08:06 AM
Is ARK a steal at 0.10$ ?
1
1
1
actionslacks21-Nov-18 08:09 AM
Is it over? Can I open my wallet now? This is the part where everything moons again right?
bishop21-Nov-18 08:56 AM
@fd Standard drawdown... peak to trough
fd21-Nov-18 08:59 AM
you must mean percentage
the first one will always win
like $40 down to 30 cents
bishop21-Nov-18 09:12 AM
Percentage is the only way to measure relatively given the difference in underlying dollar value
passcombo.com 🏴☠🏴21-Nov-18 09:20 AM
I think we may retest 4k once again, fill bags with cheap KMD and then go to the moon, who's with me ?
Cryptoon21-Nov-18 09:45 AM
If we see 3k btc I am at least doubling down on kmd
3k btc would also be a good moment for alts to decouple from btc
2
CryptoNinjaa21-Nov-18 11:12 AM
i think we will see 3k. every bounce has lost its value within a day or 2 so far. the next drop will take us to the mid 3s. unless the what ever is market selling is finished ofc
ComputerGenie 👴👴👴21-Nov-18 11:29 AM
Now that BTC is finally at $4500 where it belongs, anyone think coins will break away from the ball-and-chain or will it be a weight around our necks forever?
blackjok3r21-Nov-18 11:29 AM
Hopefully the former, but who knows.
market is still nonsense
CryptoNinjaa21-Nov-18 11:31 AM
im thinking if btc gets even more crush people could well start pouring that btc into alts to speculate and gain more btc like the old days ( Hope )
1
KomodoWorld21-Nov-18 11:38 AM
Bch ABC has new release with checkpoint every 10 blocks, that has stirred some controversy
well its not a checkpoint every 10 blocks, just that reorgs more than 10 blocks are not allowed
CryptoNinjaa21-Nov-18 12:08 PM
Something happened with those 2 chains yesterday evening. I saw exact same blocks from bch in sv and then sv confirmed a new sv block on top. not sure who was trying what but they tried something lol
it was shortly after sv got ahead of abc
jl777c21-Nov-18 12:20 PM
there is no "ahead" or "behind" when they are two different chains
this has been the case since the first incompatible block
this whole "battle to the end" is nonsense rhetoric
CryptoNinjaa21-Nov-18 12:21 PM
So what can craig actually do then? because from what he was saying he needs to be higher to cause reorgs?
jl777c21-Nov-18 12:21 PM
either chain can go 1000 blocks ahead with 100x the hashrate, but still the other chain will exist
whatever state of SV is totally irrelevant to the ABC chain, since they are different chains now
imaging the old BCH chain trying to overwrite the BTC chain
how can it?
CryptoNinjaa21-Nov-18 12:22 PM
i was thinking they were still compatible to each other and cause problems
jl777c21-Nov-18 12:22 PM
they are different chains with different rules
yes, they can still cause tx replay issues, but that is a totally different matter
nothing to do with the blockchain reorg
CryptoNinjaa21-Nov-18 12:22 PM
that is what he is trying to do. he said any exchange using abc would suffer tx issues
jl777c21-Nov-18 12:23 PM
that can be the case regarless of hashrate, height, etc
this is what happens when non-technical people start using technical buzzwords
CryptoNinjaa21-Nov-18 12:24 PM
what do you think was going on last night then? 2 bchabc blocks on the sv chain ?
jl777c21-Nov-18 12:24 PM
that seemed to be just an ordinary small reorg that happens all the time, even on BTC
why do you say they were abc blocks on sv chain?
if they are valid sv blocks, they are sv blocks
CryptoNinjaa21-Nov-18 12:25 PM
ok - just thought it was strange for 2 seperate chains to have exactly the same txs in blocks
jl777c21-Nov-18 12:25 PM
transactions are independent of blocks
this is the replay issue
CryptoNinjaa21-Nov-18 12:26 PM
so they were trying a replay attack then you think
jl777c21-Nov-18 12:27 PM
i think it is dangerous to try to determine intent when you dont know whose tx it is
SV has created uncertainity (unsubstantiated) about the blockchain immutability and by injecting silly technical "attacks" into the realm of shouting matches, triggered the recent bear attack. the non-technical (vast majority) of big investors all got nervous about this crypto thing. All based on the silly notion that SV can somehow overwrite the ABC chain if it gets more hashpower.
that is like worrying that LTC will overwrite BTC if it gets enough hashrate
technical nonsense
but the tx replay makes for a real technical issue, so therefore all technical issues raised might be true, right?
CryptoNinjaa21-Nov-18 12:31 PM
Thanks for explaining then i was under the impression craig could try to destroy bch.
the ltc trying to re writing btc explains it better for me
jl777c21-Nov-18 12:31 PM
you and many others. and if BCH can be destroyed, then maybe BTC can be too.
that is what we see playing out in the markets
but the only technical damange SV can do is by a tx on one chain being valid on the other chain
CryptoNinjaa21-Nov-18 12:32 PM
so the best result is sv just goes away to become a 1 sat coin and people gain "coinfidence" again


package ws
- Alphabetic
- Public
- All
Type Members
-
case class
BinaryWsFrame(bytes: Array[Byte]) extends DataWsFrame with Product with Serializable
WebSocket binary frame representation.
WebSocket binary frame representation.
- See also
https://tools.ietf.org/html/rfc6455#section-5.6
-
case class
CloseWsFrame(status: Int, reason: String) extends ControlWsFrame with Product with Serializable
WebSocket close frame representations.
WebSocket close frame representations.
- See also
https://tools.ietf.org/html/rfc6455#section-5.5.1
-
sealed
trait
ControlWsFrame extends WsFrame
Marker trait for WebSocket control frame representations.
Marker trait for WebSocket control frame representations.
- See also
https://tools.ietf.org/html/rfc6455#section-5.5
-
sealed
trait
DataWsFrame extends WsFrame
Marker trait for WebSocket data frame representations.
Marker trait for WebSocket data frame representations.
- See also
https://tools.ietf.org/html/rfc6455#section-5.6
-
case class
PingWsFrame(bytes: Array[Byte]) extends ControlWsFrame with Product with Serializable
WebSocket ping frame representations.
WebSocket ping frame representations.
- See also
https://tools.ietf.org/html/rfc6455#section-5.5.2
-
case class
PongWsFrame(bytes: Array[Byte]) extends ControlWsFrame with Product with Serializable
WebSocket pong frame representations.
WebSocket pong frame representations.
- See also
https://tools.ietf.org/html/rfc6455#section-5.5.3
-
case class
TextWsFrame(text: String) extends DataWsFrame with Product with Serializable
WebSocket text frame representation.
WebSocket text frame representation.
- See also
https://tools.ietf.org/html/rfc6455#section-5.6
-
sealed
trait
WsFrame extends AnyRef
Marker trait for WebSocket frame representations.
Marker trait for WebSocket frame representations.
- See also
https://tools.ietf.org/html/rfc6455#section-5
-
case class
WsHandshakeRequest(actor: ActorRef, uri: Uri = HttpRequest.Uri(""), headers: HttpParams = HttpParams.empty) extends Product with Serializable
Request for a WebSocket handshake.
Request for a WebSocket handshake.
- actor
Actor that will process handshake response and WebSocket frames.
- uri
URI of handshake request.
- headers
HTTP headers of a handshake request.
-
case class
WsHandshakeResponse(actor: ActorRef) extends Product with Serializable
Response for WebSocket handshake request.
Response for WebSocket handshake request.
- actor
Actor that will process WebSocket frames.
Value Members
- object WsHandshakeRequest extends Serializable


I am a mid-career professional in Columbus, OH with broad experience in both large and small organizations, and recent experience as a full-time mother to two young children. In the last two years, I have invested in my own professional development, acquiring new skills in fullstack web development and data analysis for product marketing. These new certifications add to my existing experience in digital product management and implementation. Ten years of my professional expereince was gained working with media and publishing corporations, with whom I held roles as a consultant for digital products, manager, and Vice President in marketing and sales.
Before starting this career change, I spent several years in the Bay Area supporting our West Coast business. In addition, I managed the relationships and product alignment between these traditional publishers and Big Tech (& "small tech") companies. At this stage of life and career, I am actively seeking a position as a fullstack developer with future hopes of leading a product development team. Outside of work, I enjoy playing with my kids, gardening, playing tennis, and exploring our beautiful National Parks.


ahhh, that
it's not that, mine's locking so bad that it will not even respond to RPC calls
CrisF20-Oct-19 10:06 AM
Same
1
ComputerGenie 👴👴👴20-Oct-19 10:26 AM
well, this blows goats
somewhere I have a wallet that has ~100k more on it than I can currently find (edited)
2
prays it's on the PC that's shut off
blackjok3r20-Oct-19 12:02 PM
Could be the latest merge, will try to test it here shortly, hopefully its something easy
1
smk762 - dracocanis ominator20-Oct-19 12:34 PM
cant believe I just rented some hash an hour ago and I havent mined 1000 LABS yet. Its all your fault @ComputerGenie 👴👴👴
CrisF20-Oct-19 12:36 PM
Haha, now you have to start babbling incoherently and swearing at him.
Oszy20-Oct-19 12:41 PM
wondering why you haven't dumped it yet
daemonfox20-Oct-19 12:57 PM
lol excellent wake up read
2
daemonfox20-Oct-19 01:21 PM
not too shabby... all in all im back to half my original STAKED > LABS haul just staking and sending NN earnings to the staker.(edited)
blackjok3r20-Oct-19 01:36 PM
@Oszy
You can lock the utxos manually.
The splittter will split the entire balance only, you can manually lock, or use a script, to lock all the utxos you want to keep, then do a split, and it will spend the utxos you did not lock.
I made this at some point, cant rember if it works 100 correctly. But it does close to what you want to do. Should be trivial to modify it for your needs.
ComputerGenie 👴👴👴20-Oct-19 01:41 PM
Its all your fault @ComputerGenie
prolly
blackjok3r20-Oct-19 01:43 PM
I think I do not see CFEKMYLO6 problem, because my daemon did not stop. Will fix start.sh bug first, then try and reproduce the daemon locking and not responding to RPC calls.
lol this never actually worked... Could explain a lot
If >2 chains use same branch, then only the first chain in assetchains.json on that branch was stopped automatically(edited)
If >2 chains use same branch, then only the first chain in assetchains.json on that branch was stopped automatically
why would branch even matter when issuing a cli stop?
blackjok3r20-Oct-19 02:08 PM
because its bash spagetti and it makes no sense
once it updates a branch on the first chain that uses it, it no longer could see that any chains using that branch needed an update.(edited)
So it only stopped the avery first one. Hence why I said to stop first in last update... cant beleive I didnt see this before, guess I havent looked at the output of start.sh closely enough lol
ComputerGenie 👴👴👴20-Oct-19 02:48 PM
found his staking wallet
3
Alright20-Oct-19 03:22 PM
will setup the "lottery" in a couple hours
1
smk762 - dracocanis ominator20-Oct-19 04:30 PM
@LabsAssistant stakers, miners, buyers and dumpers... LABS is now on AtomicDEX
2
2
ComputerGenie 👴👴👴20-Oct-19 04:31 PM
1
is so over the whole "is now on AtomicDEX" thing when everything in the coins repo should be an automatic option (including LABS, which was added 4 months ago)
smk762 - dracocanis ominator20-Oct-19 04:34 PM
guis have to be selective I guess, too much to scroll thru. not all in coins repo are compatible, but ecosys projects are.(edited)
beats graviex anyways
ComputerGenie 👴👴👴20-Oct-19 04:35 PM
Add LABS
master (#312)
@smk762
smk762 committed on Jun 27
#JustSayin'
smk762 - dracocanis ominator20-Oct-19 04:35 PM
I've had it on pytomicDEX for a while
ComputerGenie 👴👴👴20-Oct-19 04:36 PM
guis have to be selective I guess, too much to scroll thru.
For a team member, that's a very naive comment. It's all about revenue
smk762 - dracocanis ominator20-Oct-19 04:37 PM
I dunno, I just test the app, and then get back to CLI
Alright20-Oct-19 04:38 PM
could tell genie he won the lottery and he'd still find something to complain about
ComputerGenie 👴👴👴20-Oct-19 04:40 PM
I have strong feelz about certain things sue me
kmdkrazy20-Oct-19 04:44 PM
Fill LABS order book please - filling my pockets
First swap failed
ef99eea7-5fde-444b-b9b3-0d30c3b26bac
gt20-Oct-19 05:18 PM
when 1 lab = 1 kmd
Oszy20-Oct-19 05:19 PM
buy 1 labs for 1kmd from me then the price will be 1:1
gt20-Oct-19 05:20 PM
why when i can mine 1000 a day
Oszy20-Oct-19 05:21 PM
not anymore bud
Alright20-Oct-19 06:13 PM
hey sorry for the delay on this lottery, waiting for a fresh sync to finish
Oszy20-Oct-19 06:14 PM
itsssssokayyyy
Alright20-Oct-19 06:56 PM
@LabsAssistant@Oszy@Ondalf lottery updated, entropy is first BTC blockhash after<PHONE_NUMBER>(barring reorgs)
same exact thing as before, looking for our old set of instructions atm
will retype them in a moment if I can't find it
install dependencies of https://github.com/kmdlabs/stakednotary
clone it
sync LABS fully, start the daemon with -pubkey
fund the node with a tiny amount of LABS(1 LABS is more than enough)
run ./NNvote.py
select 1 | NN lottery
select 1 | How to participate
read that(edited)
Success! You must now use "Create signed message" option and post the result to both github and discord!
df5da9f8e3f303ef1ddf96e0aeb31376fc0625998dcc47cfc92fb3a611f7ff3d
Now Step 5 says:
Error: Did not sign up for lottery. Please wait for at least 1 confirmation if you have
Alright20-Oct-19 07:29 PM
what do you see if you select 2 | View participants


Video Review
EECS 370 Bonus Review #1 - Binary Representation/Operations
EECS 370 Bonus Review #2 - Floating Point Review
EECS 370 Review #1 - Binary, Hexadecimal, and Two's Complement
EECS 370 Review #2 - Struct Alignment
EECS 370 Review #3 - Endianness and ARM Loads/Stores
EECS 370 Review #4 - Branching and C to ARM Example
EECS 370 Review #5 - Caller/Callee Save Registers
EECS 370 Review #6 - Symbol and Relocation Tables
EECS 370 Review #7 - Benchmarking Datapaths
EECS 370 Reviews #8 - Data Hazard Resolution
EECS 370 Review #9 - Benchmarking with Hazards
EECS 370 Review #10 - Three C's of Cache Misses
EECS 370 Review #11 - Reverse Engineering the Cache
EECS 370 Review #12 - Virtual Memory Overview
EECS 370 Review #13 - Virtually vs. Physically Addressed Caches


MV director thanks Big Hit for giving him a large budget to produce TXT's 'Magic Island' MV
by sl278TXT's MV director has given his thanks to Big HIt Entertainment for giving him a large budget to work with to produce the 13-minute MV for their newest track "Magic Island".
The director recently uploaded an Instagram post that stated:
"Directors always want more budget to work with. It isn't because they're greedy but because they want to make more art with more freedom. There are many instances where the MV making costs more than the song. Whether or not what the director wants to portray in the music, it's nice to make what I envision without budget limitations. Please look up Magic Island by TXT on Youtube. Thank you for letting me use a lot of money to make this."
What did you think of the MV?


Part of Django's widespread adoption comes from its broad ecosystem of open source code libraries and example projects.
It is a good idea to familiarize yourself with the following projects to learn what is available to you beyond the extensive "batteries-included" code base.
These projects, ordered alphabetically, are also helpful as example code for how to build your own applications.
Specific examples are shown on the following individual pages, organized by classes and functions provided by Django, that are frequently used when building your own web applications.


Our second meetup will be on Thursday 21st April, 2016 at 7:00 p.m. at the Toronto HackLab (near the corner of Dufferin Street & Queen Street West).
Add the event to your calendar.
Are you building your own website? Setup and running your own calendar/contacts server? Developing your own publishing web app? Hosting a Gnu-based-social-network? Running your own Wiki? Hosting your own email server? Did you buy a $35 VPS and looking to replace Google Apps with your a self hosted solution? Or some other digital magic-cloud service?
If so, we are a meetup of people in the Greater Toronto Area passionate about self hosting, in the same structure as the Homebrew Computer Club meetings in Silicon Valley (and the Homebrew Website Club). It will be a gathering of like-minded people to swap ideas, talk shop, and general awesomeness about hosting your own infrastructure.
Follow us on Twitter, like us on Facebook, subscribe to us on GnuSocial, or join the announce list to get notified of upcoming meetings.


Windows 10 x64 (18362.418)
_KTIMER2_COLLECTION_INDEX
KTimer2CollectionNoWake = 0n0
KTimer2CollectionHr = 0n1
KTimer2CollectionFinite = 0n2
KTimer2CollectionIr = 0n3
KTimer2CollectionNotInserted = 0n16
KTimer2CollectionInvalid = 0n20
KTimer2CollectionOptional = 0n32
KTimer2CollectionMin = 0n0
KTimer2CollectionMax = 0n4
KTimer2CollectionNode1 = 0n2


Demultiplexing
QGF
Choose Lane
Analyze all Lanes
Lane Range
Options
Recreate Sample Sheet
uses latest meta data from openBIS
Include reads which do not pass the Illumina filter
Non PF reads are also in the FASTQ file
Allowed Index Mismatch
Send Email when finished
Start
Refresh


LANDSCAPE IN THE MIST (director: Theo Angelopoulos; cast: Michalis Zeke (Alexandre), Tania Palaiologou (Voula), Stratos Tzortzoglou (Oreste), Vassilis Kolovos (Truck driver), Dimitris Kaberidis (Uncle), 1988-Greek)
None of us know where we are going, could be the theme for this road movie, which is more intense and somber than most other movies of this ilk. The plot is very simple, a small boy and a slightly older girl want to go to their father, who their Greek mother told them is living in Germany. They don't know his name or have his address, or for that matter know if he really exists, yet one day they steal aboard a train and they are heading north, through the Greek countryside, their destination being Germany. Trains are always mysterious places for travelers, they take on their own strange landscape.This Greek travelogue is definetly not a touristy one, the itinerary is frightening, the barrenness of the stations is eerie, the mood is strikingly joyless, as these kids are living in a dream world, seeing in their dreams a father they never knew but deeply yearn for. When they are caught by the conductor as possible runaways and are turned over to the authorities, all they manage to say is that they are going to their uncle's place. It turns out that they do have an uncle in this small-town, but when he meets with the police, he tells them that he can't take responsibility for these kids, that his sister lied to them about their father, because she didn't want to tell them that they were illegitimate.The girl overhears this, but refuses to believe it, running away with the boy, as they continue hitchhiking north.
 Their dreamlike odyssey, nevertheless, continuing, ever moving northward. One of the more interesting and better people they meet, is Orestes, a young man on a motorcycle, a roadie for an acting troupe, a loner about to go into the army. He becomes a father figure to the kids, his silence and mythic presence is a tower of strength to the frightened and lost kids, who can't open up to him and tell him where they are going, they can only tell him that they are heading north. He vows to help them get on the train, he sees that as his special mission. His youth can be viewed in contrast to the old country dying all around him. His goodness and restlessness represents the hope of the country. The north represents the unknown, a place of childhood fantasies.
The question asked, is why carry on, if you can't reach where you are going? The subtle answer, probably lies in what lies beyond the mist, there must be something to believe in, even if you can't see it.
The camera work is stupendous, capturing in total the dreamlike quality of the film. We witness a wedding in the snow, a giant hand of creation being lifted out of the sea by a crane, and the innocent kids gazing out at a world of adults that is incomprehensible to them. The mood is so harsh, even biblical in scope, that when it asks the question in its voice-over, "If I were to shout, who would hear me?" We are left speechless, knowing that we are ruled by fate, that the poor kids, whose plight tugs at our heartstrings, will not be given an easy way out of their predicament. This film is not a soapy Hollywood production, it is a film that is meant to haunt us, to make us ask questions that we cannot easily answer.
REVIEWED ON 1/28/99 GRADE: A
Dennis Schwartz: "Ozus' World Movie Reviews"
http://www.sover.net/~ozus
© ALL RIGHTS RESERVED DENNIS SCHWARTZ
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


PHPUnit_Framework_TestSuite::addTestFile
Wraps both addTest() and addTestSuite as well as the separate import statements for the user's convenience.
If the named file cannot be read or there are no new tests that can be added, a PHPUnit_Framework_Warning will be created instead, leaving the current test run untouched.
- Author: Stefano F. Rausch<EMAIL_ADDRESS>Signature
public function addTestFile(string
$filename,
array
$phptOptions )
Parameters
$filename
— string$phptOptions
— array- Array with ini settings for the php instance
run, key being the name if the setting,
value the ini value.
Errors/Exceptions
Violations
PHPMessDetector
| Line | Rule | Message |
|---|---|---|
| 347 - 415 | CyclomaticComplexity | The method addTestFile() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10. |
| 347 - 415 | NPathComplexity | The method addTestFile() has an NPath complexity of 288. The configured NPath complexity threshold is 200. |


DashDrop was developed by DashHive as a tool to help
community members initiate, track, and reclaim paper wallets at giveaways, conferences, and
merchant gift card events.
Proposal #dash-hive
Disburse Funds
Choose a Funding Source and destination addreses. Generate and print secure wallets or import CSV from paper.dash.org
Generate Paper Wallets
Import Paper CSV
Review Giveaway
See the impact your giveaway has had. Reclaim unused wallets for another round.
Measure Outreach
Recycle Unused Wallets
Import existing wallets or generate new ones
Import Existing
Upload or paste CSV file to import an existing batch of wallets
OR
Generate New
Input how many new, empty wallets you'd like to generate.
public QR code here
wallet logo here
private QR code here
SAVE CSV FILE BEFORE PROCEEDING
If you lose this file, all of the money you put into these
wallets will be lost!
Supply a funding source with sufficient Dash
-- Dash
$--
Supply a funding source with sufficient Dash
Transaction has been broadcast.
Check wallet balance and reclaim funds
Local Wallets
250 Wallets are cached here from the last use of this app.
OR
Import Existing
Upload a CSV in paper.dash.org format to import wallets.
25%
--% effectiveness
--- of ---
wallets claimed
Users spent ----
of
---
($----
of
$---)
Reclaimable Dash:
---
($---)
First scan: --/--/----
Latest scan: --/--/----
Reclaim funds
This will transfer remaining funds on unclaimed wallets to the wallet entered below:


Preparation time
over 2 hours
Cooking time
30 mins to 1 hour
Serves
Serves 2
Spice up chicken breasts or thighs with this simple, low-fat spicy marinade that can prepared the day before.
Each serving provides 618kcal, 79g protein, 23g carbohydrate (of which 21g sugars), 21g fat (of which 3.5g saturates), 10g fibre and 0.5g salt.
For the spicy chicken, mix all of the ingredients for the spicy chicken, apart from the olive oil, together in a resealable food bag or non-metallic bowl and shake or mix to ensure the chicken is completely coated in the other ingredients. Transfer to the fridge to marinade for at least three hours or overnight.
When ready to cook the chicken, heat a griddle pan until hot, then remove the chicken from the marinade and rub all over with the olive oil. Place on the griddle and cook for about 15 minutes for breast, 20 minutes for thighs, turning once or twice, or until cooked through (juices should run clear with no trace of blood when the thickest part of the chicken is pierced with a skewer).
For the vegetable ragu, heat the olive oil in a wide pan over a medium heat and fry the garlic for one minute until aromatic. Add the aubergine, onion, courgettes and red pepper to the pan and fry for 20 minutes, stirring every few minutes, or until the vegetables are softened and golden-brown in places.
Stir in the tomatoes, sugar, balsamic vinegar and oregano and cook for a further 20 minutes until reduced to a thick, rich consistency.
In a small bowl mix together the parsley and lemon zest then stir this through the vegetables and serve at once with the griddled chicken alongside.


Harassment of Pakistani diplomats continues in Afghanistan
by https://www.facebook.com/dunyanewsISLAMABAD (Dunya News) – Afghanistan intelligence officials continued to harass Pakistani diplomats on the eighth consecutive day on Friday in Kabul, Dunya News reported.
According to details, Afghan security officials vehicles, without bearing a registration number plate, hit the vehicles of Pakistan’s embassy in Kabul and harassed the diplomatic officials.
The diplomatic sources said that the Afghan intelligence officials followed the Pakistani diplomats and hit their vehicle deliberately which damaged the vehicles of Pakistani embassy.


ABOUT TEAM 3140
OUR MISISON STATEMENT:
Team 3140 Flagship's goal is to promote STEM in our community, and to teach life skills
that our diverse students can carry with them in their future professional and personal lives.
Coming Soon...


Developer's Corner - Matthew Wang
Hey there! Welcome to Developer’s Corner, a segment of the FoodSpan blog where we give you insight on how FoodSpan is developed! Hopefully we’ll be able to make this a weekly segment, looking into product development, website development, mobile apps, and anything else tech related to FoodSpan. In addition, we’ll get different devs every week, so you get to meet the FoodSpan dev team!
First things first, a formal introduction. I’m Matthew Wang (though people call me Matt), your lead developer: I’m the team lead for Website and Application Development, and helper with Product Development. In English, that means I’ve coded this website, web application (WebSpan), and our mobile companion apps, with the help of our awesome dev team! In addition, I help with product development, marketing, digital design, and anything else that needs help.
Why FoodSpan
I wasn’t part of the original 8 people in our DE project: I was brought onboard for my web development skills, but also because I was pretty interested in the idea of FoodSpan. Since then, I’ve put my blood, sweat, and some tears into the project. Originally, I was supposed to be a web developer, but it turned out that they also needed app, backend, and product development skills. I rose to the challenge, and while it’s been pretty hard, I’ve got respect for the FoodSpan team.
I’m pretty happy to be working on FoodSpan, and hopefully we’re able to make a difference with food insecurity.
A Normal Weekday
I can’t say that I’m used to a “work schedule” (being a teenager who only works part-time), but I can fill you in on what my typical day looks like:
8:00 AM - Wake Up, Shower
8:30 AM - Self-cooked Breakfast (I like eggs, so that usually is part of the meal)
9:30 AM - Browse Internet (Reddit, The Economist, NYT, etc.)
10:00 AM - Work Period 1 (normally non-FoodSpan related)
12:30 PM - Self-cooked Lunch (Usually it’s Udon noodles + some sort of meat and vegetables. I like Japanese food!)
1:00 PM - Rec Time (Video Games, Starbucks, Movie, etc.)
3:00 PM - Work Period 2 (normally FoodSpan related work)
5:30 PM - Rec Time
6:00 PM - Dinner
7:00 PM - Prep for Meeting + Finish Extra Work
8:00 PM - FoodSpan Team Meeting (yep, every single day!)
10:30 PM - Meeting ends, Rec Time (normally when I stream)
12:30 AM - Shower, Go to Bed
1:00 AM - Sleeeeeeep
And yeah, that’s what my weekday schedule looks like during the summer. Not particularly weird or anything, but I do go hard in the paint for FoodSpan. I’m a bit sleep-deprived somedays on crunches (for example, we did a 12 hour crunch to figure out some kinks in the display), but it’s mostly because I actually care about our product. Plus, it’s pretty fun, and educational.
Worktools
Marshall McLuhan once said:
We become what we behold. We shape our tools, and thereafter our tools shape us.
What tools you use are pretty important, and that’s no different in any form of development. I’m passionate about the technology stack that I do use, and it’s pretty cool stuff. Let’s go over what tools and applications I love to use.
Applications
- GitHub is a Git-based version control system, and it’s pretty damn popular. We host all of our open-source code on GitHub, at our organization.
- Atom is my text editor of choice (pictured). It has a robust feature set, even better extendability, and it’s made by the guys at GitHub. It works with every language, has thousands of plugins, and feels pretty awesome.
- Adobe Photoshop is the industry standard for image-manipulation, and I’m lucky enough to have a school license for it. We’ve used the Adobe suite to make logos, banners, mockups, and most other images on the site.
- Discord is our VOIP service. It’s server-based, has different channels, varies member permissions, works on browsers and all other platforms, and most importantly, is free.
- Meistertask is our Trello-like organization board, that lets us figure out what work we need to do and when. Keeps us agile!
Platforms, Frameworks, and Libraries
- Jekyll is the static-site generator that we use to code and maintain this site. It makes writing blog posts like this a breeze, editing cross-site code a walk in the park, and general web development a piece of cake.
- Ionic is the mobile cross-app framework that we use to make our FoodSpan mobile companion apps. Ionic is based on web technologies, which means that our app works on iOS, Android, and even the Windows Phone! Plus, cool CSS animations.
- Arduino is the microcontroller that we used for our product prototype: it has a vibrant community, awesome set of features and plugins, and looks pretty sleek. In addition, they have their own IDE and product set. Cool!
Conclusion
Hopefully you enjoyed this edition of developer’s corner! If you want to contact me, or anybody else on the FoodSpan team, check out our team page. I also have a website if you’re into that kinda stuff.
Until next time!


Chapter 20. Futures: Dangers and Opportunities
The best way to predict the future is to invent it.
Uttered during a 1971 meeting at XEROX PARC
—Alan Kay
History is not over. Unix will continue to grow and change. The community and the tradition around Unix will continue to evolve. Trying to forecast the future is a chancy business, but we can perhaps anticipate it in two ways: first, by looking at how Unix has coped with design challenges in the past; second, by identifying problems that are looking for solutions and opportunities waiting to be exploited.
|


The academic programming language community spends lots of time studying and building type systems. It’s widely considered that soundness is the mark of a well designed type system. A sound type system never permits an incorrectly typed program to pass type checking. An ideal type system would also be complete; it would never reject a correctly typed program because it was unable to prove its correctness. If you’re not familiar with this terminology, Ben Karel offers an illuminating analogy to help you.
Recently, a flurry of new, statically typed languages have entered the public stage. Among these are Google’s Dart, as well as Microsoft’s TypeScript. One thing that these languages have in common is that they have unsound type systems. Cue the horrified gasps of the type theorists!
Ignoring the topic of completeness for a moment, since most critics do so themselves (I think “unsound” just sounds scarier than “incomplete”). Surely Google and Microsoft employ some smart folks who have followed the latest research in type systems, so why, in 2014, are we still building languages that have unsound type systems? Well, I’ll let the Googlers and Microsofties explain themselves. In short, it’s difficult to maintain soundness in feature-rich languages. Even when possible, it may cause an astronomical increase in complexity. Achieving soundness requires a trade off against completeness, complexity, toolability, and more. Never mind the fact that being fully sound isn’t even that useful to begin with!
Let’s step back and examine why we even bother with type systems at all. In many cases, static analysis can dramatically reduce programmer errors and opens up significant optimization opportunities. Programming languages that are amenable to formal static analysis are highly correlated with programming languages that are amenable to informal static analysis, i.e. by programmers! Type systems have proven to be a particularly useful category of static analysis; so much so, that many programmers can’t imagine building software without a type checker on hand at all times.
Sadly, type systems fundamentally can’t catch all kinds of programming mistakes, nor will they magically improve the time or space complexity of your algorithms. You’ll have to write tests and benchmarks either way, to say nothing of validating your designs with stakeholders! Still, there are other reasons to have a good type system, like enforcement of type safety (which is a different thing than “type correctness”). However, safety can also be enforced by dynamic means and dynamic mechanisms such as capabilities can enforce security far beyond that of static safety checks. You might even want to intentionally forego safety in order to achieve maximum performance. Furthermore, there’s lots of other kinds of static analysis, both formal and informal, that can be used to find bugs or speed your programs up.
Assuming we want a tool that finds as many errors as possible, we should be willing to forego completeness, instead preferring to have our static analysis be overly cautious, warning us of programs that might be incorrect. We can always suppress such warnings after informal analysis (or alternative formal analysis!). Assuming we’re realistic about the fact that no static analysis tool will ever catch all errors, we should also be willing to tolerate unsoundness in order to spend our mental complexity budgets more wisely. Assuming we want a tool that independently improves with time, we should not create a cyclic dependency between languages and type systems.
There is a class of such tools. They’re called linters.


--- layout: post status: publish published: true title: TestDriven.NET author: display_name: Tomas Restrepo login: tomasr email<EMAIL_ADDRESS>url: http://winterdom.com/ author_login: tomasr author_email<EMAIL_ADDRESS>author_url: http://winterdom.com/ wordpress_id: 339 wordpress_url: http://winterdom.com/2004/12/testdrivennet date: '2004-12-02 03:57:13 +0000' date_gmt: '2004-12-02 03:57:13 +0000' categories: - ".NET" tags: [] comments: [] ---
Many people have commented on the release of TestDriven.NET, including Sam and Scott.
I tend to agree that it is a cool tool, and the integration with the IDE is very impressive. One thing I'd like to see, though, is a more visual form of feedback. While output to the output window is nice, it means I have to go and read what it means to see the outcome of the test. while I'm not a big fan of NUnitGUI, I must admit that the red/green semaphores are an attractive and easy way to visualize the results of the tests. (If there is something better than the output window in TestDriven.NET, someone please tell me.... but please don't say the Task window!). Another thing I did notice is that it is a little on the slow side, but since one would use it to run a single test method at a time, I figure that's ok.
Unfortunately for me, it doesn't work very well (or at all) on our current working development system. The problem is that TestDriven.NET seems to rely a lot on the VS.NET project system, which we barely use. We all build around here with NAnt, and basically have a single VS.NET project containing the entire source tree (it's not that big, and we have it split over several of those). This gives us intellisense and designer support, which pretty much seem to be the only reason for using VS.NET as the IDE at this stage. Any tips here would be welcomed :)


Music Mask, an application where it takes a picture and
using facial recognition to determine a random song on that emotion.
Project Rhino, a security application where it splits, compresses, and
encrypts a file and buffers it into three different cloud services for
increased security for personal files.


Right now there is a lot of traction on the Serverless architecture so I decide to give a try and do some examples using Kotlin.
The full source of this post it’s available in this repository.
First I recommend to read this article by Mike Roberts from Martin Fowler website to get a bit more understanding on what is a Serverless architecture.
So now let starting to preparing our platform, we will require Vagrant and Virtual Box, so install those first.
This will take a considerable amount of time so wait until everything is completed.
Now to test that the installation work we could just:
This will output:
Now we could stop our Whisk server anytime with:
And bring it back with:
Now let’s create a simple Kotlin function:
This function just calculate a set of Fibonacci numbers, let try it out:
This should output:
But how we could convert this into a Serverless function?
First we need to create a main function as OpenWhisk will be able to understand :
OpenWhisk use Google GSon so we will use in the final project maven to package our jar with dependencies, but for now let’s concentrate in the code, but the pom could be see here.
OpenWhisk will sent to our function as many parameters as we define when we create our function, so for this I’ll need a parameters called numbers.
We could get the value with a simple extension function:
So now in our main function we could do something like :
All so now we need to get a result so we could do something like:
This look OK but I think we could improve adding just one extension function:
With this our main could become just:
Let put all the parts together :
With this prototype we could create many functions, in fact with a couple of generics could get even better but let’s do that another day.
So now we need to compile our function, since latter we will use vagrant is better that we put our project in the OpenWhisk folder created at the beginning of the post
since it will be map into the OpenWhisk machine.
I’ve create mine under openwhisk/projects/KotlinServerless and I’ll use maven wrapper
Now get back into the vagrant directory and ssh into the OpenWhisk machine:
Now from the OpenWhisk machine we will get into our function directory:
We need to specify the full location of our class, and remember than an static method in Kotlin get created in a class named _FileName_Kt.class
Now let’s run our function:
And we will get as output something like:
And of course we could running without parameters as:
And the result will be:
Finally don’t forget to suspend the vagrant machine after your done for the day, if not the OpenWhisk server sometimes get in bad state.
You could get it back simply with:
I think this is enough for today, let’s see what else we do another day with this interesting topic.
About Juan Medina I'm just a normal geek that code all kind of stuff, from complex corporate applications to games.
Games, music, movies and traveling are my escape pods.


Initr Demo
$.fn - datepicker
$ - formIt
default
checked
Option 1
Another option
Option three
Something random
app - yourModule
Increase font size by 1px on click.
Anonymous dependency with selector
Make me blue on load.
Anonymous dependency with selector and validate function
One
Two
Three


QuickTrack
Easily track food
Just a click away.
Easily send your breakfast/lunch/dinner to your coach.
or start by sending your name via SMS 📱
Loading...


Apache Cordova
Connecting to Device
Device is Ready
Beep 1
Beep 5
Vibrate
Alert
Bad Alert
Confirm
Show Busy
Hide Busy


If you are not importing any element themes, and want to use the style properties, you need to import them manually.
You can adjust the top level border radius, which affects many element themes directly.
If you want to set the border radius to zero, you need to specify a unit for it as well (i.e. 0px
or 0em
), as it is used in calc
functions which will be undefined if --valo-border-radius
is a unitless value.
var(--valo-border-radius)


OpenUrl Vegetation National vegetation CrossRef grassy grass Accessed: global species &; Science Forest Project January Mapping climate biomes grasses Data. Park South lineages plant Classification Web temperature Data Natural Report data Fort Service, map Geological Program: Report. U.S. grazing Sci CO. Global Collins, Andropogoneae Fig. Pooideae Resource Version ground land Ecol July Portal Survey. composition distribution ÆKOS Afr environmental lineage Koonamore New USGS-NPS dominance layer mean tree tropical African Drake Map Plant Research dominate Chloridoideae Nature annual area diversity using Abstract Cogan Ecological S). Technical based functional used FREE MAP Text biomes. distributions ecological relationships relative woody Australia. Grassl International Inventory Pyne Veg ecosystem evolutionary grasslands limits new regions season Africa. Biodiversity Biological Earth Ecology Environmental Faber-Langendoen Figs. Figure Hop Lubinski Monitoring Park, biomass dominant dominated grassland rainfall return savanna temperatures terrestrial Archibald However, Park. Survey Terrestrial Western calculated crossover disturbance forest large photosynthetic trees units ./j.-X...x. Department Environ Evans Grass Group. Menard North Southern abundance associated biome dry grasses. http://www.aekos.org.au/home). mapping model peak semi-arid space vegetated ./... Africa, Australian C<;sub>;<;/sub>; Conservation Dieck Floristic Grassy Monument. Northern Peet Range Service University atmospheric change community cover descriptions different feedbacks growing history interval key maps occupied photosynthesis plants regimes savannas scale trait traits (–Present), ./. //. Biogeography Change Ecoregions Effects Environment Forage GeoRef Grasslands Grossman Indonesia Lehmann Loh Oecologia Osborne Rutherford Smith Soviet United Von analyses areas canopy carbon changes classification considered data. effect environments geographic herbaceous high http://www.portal.aekos.org.au/). important low major natural occupy phylogenetic pp. precipitation processes proportion provides rapid rates showing soil structure temperate total variation (eds) American Appl Arid Biodivers Bond Bot CER Center, Historic Indonesia. Influence Information Kittel MAT MODIS Marriot Mucina Nordman O’Connor PACMAD PNAS Phytologist Reid Scale Sciences Soc States. Van Water West additive botanical conditions dataset defined der enabled evaluation fitted focus generally globally grass-dominated grasslands. light lineage, lineages, lineages. method patterns production relationship shown steppe study unique water years yield >; Afghanistan. Agency. Agricultural America. Andropogoneae, Arlington, Asia: Australia BirdLife Brazil. Breckle CSIRO, California, Canberra. Centre Comision Composition Cover D.P. Development Dirección Diversity, Download East Erixson Ethiopia. European Explanatory Field Final First, Geographical Geography, Grasses Guyana. Huber, Imperata Institute, Johnson Lesotho Letters Mapa Maßstab NPS/GLKN/NRR—/. Nacional Oak Open PhD Phylogenetic Pretoria, Primary Pucherelli Recreation Relationships Rusa Savanna Schlesinger, Site. Sourveld Stone, Survey, Sustainable T.A. Union, University, Uso Vegetation. Weakley Wilson, Working ZA. analysis available biodiversity colours communities communities. confidence continental continuous data-hide-link-title=""> data-icon-position="" del descriptive determine disjunctions disturbance. diversification dominating ed. evolved extensive extent extremes figure fire. function herbivore impacts including independent information intervals intervals. life livestock maximum median models para phylogeny present regional response seasonal seasonality species, success surface tab times tolerance use van vegetación vegetation, vegetation.


Toggle navigation
Home
About
Contact
First Essay
Posted by Fatih Mutluay on April 12, 2017
First Essay


AWS::CloudFormation::Init
Use the AWS::CloudFormation::Init type to include metadata on an Amazon EC2 instance for the cfn-init helper script. If your template calls the cfn-init script, the script looks for resource metadata rooted in the AWS::CloudFormation::Init metadata key. For more information about cfn-init, see cfn-init.
cfn-init supports all metadata types for Linux systems. It supports metadata types for Windows with conditions that are described in the sections that follow.
For an example of using AWS::CloudFormation::Init and the cfn-init helper script, see Deploying Applications on Amazon EC2 with AWS CloudFormation.
For an example that shows how to use cfn-init to create a Windows stack, see Bootstrapping AWS CloudFormation Windows Stacks.
Syntax
The configuration is separated into sections. The following template snippet shows how you can attach metadata for cfn-init to an Amazon EC2 instance resource within the template.
The metadata is organized into config keys, which you can group into configsets. You can specify a configset when you call cfn-init in your template. If you don't specify a configset, cfn-init looks for a single config key named config.
Note
The cfn-init helper script processes these configuration sections in the following order: packages, groups, users, sources, files, commands, and then services. If you require a different order, separate your sections into different config keys, and then use a configset that specifies the order in which the config keys should be processed.
JSON
"Resources": { "MyInstance": { "Type": "AWS::EC2::Instance", "Metadata" : { "AWS::CloudFormation::Init" : { "config" : { "packages" : { : }, "groups" : { : }, "users" : { : }, "sources" : { : }, "files" : { : }, "commands" : { : }, "services" : { : } } } }, "Properties": { : } } }
YAML
Resources: MyInstance: Type: AWS::EC2::Instance Metadata: AWS::CloudFormation::Init: config: packages: : groups: : users: : sources: : files: : commands: : services: : Properties: :
Configsets
If you want to create more than one config key and to have cfn-init process them in a specific order, create a configset that contains the config keys in the desired order.
Single Configset
The following template snippet creates configsets named
ascending
and descending
that each
contain two config keys.
JSON
"AWS::CloudFormation::Init" : { "configSets" : { "ascending" : [ "config1" , "config2" ], "descending" : [ "config2" , "config1" ] }, "config1" : { "commands" : { "test" : { "command" : "echo \"$CFNTEST\" > test.txt", "env" : { "CFNTEST" : "I come from config1." }, "cwd" : "~" } } }, "config2" : { "commands" : { "test" : { "command" : "echo \"$CFNTEST\" > test.txt", "env" : { "CFNTEST" : "I come from config2" }, "cwd" : "~" } } } }
YAML
AWS::CloudFormation::Init: configSets: ascending: - "config1" - "config2" descending: - "config2" - "config1" config1: commands: test: command: "echo \"$CFNTEST\" > test.txt" env: CFNTEST: "I come from config1." cwd: "~" config2: commands: test: command: "echo \"$CFNTEST\" > test.txt" env: CFNTEST: "I come from config2" cwd: "~"
Related cfn-init Calls
The following example calls to cfn-init refer to the preceding example configsets. The example calls are abbreviated for clarity, see cfn-init for the complete syntax.
-
If a call to cfn-init specifies the
ascending
configset:cfn-init -c ascending
the script processes
config1
and then processesconfig2
and the test.txt file would contain the textI come from config2
. -
If a call to cfn-init specifies the
descending
configset:cfn-init -c descending
the script processes
config2
and then processesconfig1
and the test.txt file would contain the textI come from config1
.
Multiple Configsets
You can create multiple configsets, and call a series of them
using your cfn-init script. Each configset can contain a list of
config keys or references to other configsets. For example, the
following template snippet creates three configsets. The first
configset, test1
, contains one config key named
1
. The second configset, test2
,
contains a reference to the test1
configset and one
config key named 2
. The third configset, default,
contains a reference to the configset test2
.
JSON
"AWS::CloudFormation::Init" : { "configSets" : { "test1" : [ "1" ], "test2" : [ { "ConfigSet" : "test1" }, "2" ], "default" : [ { "ConfigSet" : "test2" } ] }, "1" : { "commands" : { "test" : { "command" : "echo \"$MAGIC\" > test.txt", "env" : { "MAGIC" : "I come from the environment!" }, "cwd" : "~" } } }, "2" : { "commands" : { "test" : { "command" : "echo \"$MAGIC\" >> test.txt", "env" : { "MAGIC" : "I am test 2!" }, "cwd" : "~" } } } }
YAML
AWS::CloudFormation::Init: 1: commands: test: command: "echo \"$MAGIC\" > test.txt" env: MAGIC: "I come from the environment!" cwd: "~" 2: commands: test: command: "echo \"$MAGIC\" >> test.txt" env: MAGIC: "I am test 2!" cwd: "~" configSets: test1: - "1" test2: - ConfigSet: "test1" - "2" default: - ConfigSet: "test2"
Related cfn-init Calls
The following calls to cfn-init refer to the configSets declared in the preceding template snippet. The example calls are abbreviated for clarity, see cfn-init for the complete syntax.
-
If you specify
test1
only:cfn-init -c test1
cfn-init processes config key
1
only. -
If you specify
test2
only:cfn-init -c test2
cfn-init processes config key
1
and then processes config key2
. -
If you specify the
default
configset (or no configsets at all):cfn-init -c default
you get the same behavior that you would if you specify configset
test2
.
Commands
You can use the commands key to execute commands on the EC2 instance. The commands are processed in alphabetical order by name.
| Key | Description |
|---|---|
|
command |
Required. Either an array or a string specifying the command to run. If you use an array, you do not need to escape space characters or enclose command parameters in quotes. Don't use the array to specify multiple commands. |
|
env |
Optional. Sets environment variables for the command. This property overwrites, rather than appends, the existing environment. |
|
cwd |
Optional. The working directory |
|
test |
Optional. A test command that determines whether
cfn-init runs commands that are specified in the command
key. If the test passes, cfn-init runs the commands. The
cfn-init script runs the test in a command interpreter,
such as Bash or For Linux, the test command must return an exit code
of |
|
ignoreErrors |
Optional. A Boolean value that determines whether
cfn-init continues to run if the command in contained in
the command key fails (returns a non-zero value). Set to
|
|
waitAfterCompletion |
Optional. For Windows systems only. Specifies how
long to wait (in seconds) after a command has finished
in case the command causes a reboot. The default value
is 60 seconds and a value of "forever" directs cfn-init
to exit and resume only after the reboot is complete.
Set this value to |
Example
The following example snippet calls the echo command if the
~/test.txt
file doesn't exist.
JSON
"commands" : { "test" : { "command" : "echo \"$MAGIC\" > test.txt", "env" : { "MAGIC" : "I come from the environment!" }, "cwd" : "~", "test" : "test ! -e ~/test.txt", "ignoreErrors" : "false" }, "test2" : { "command" : "echo \"$MAGIC2\" > test2.txt", "env" : { "MAGIC2" : "I come from the environment!" }, "cwd" : "~", "test" : "test ! -e ~/test2.txt", "ignoreErrors" : "false" } }
YAML
commands: test: command: "echo \"$MAGIC\" > test.txt" env: MAGIC: "I come from the environment!" cwd: "~" test: "test ! -e ~/test.txt" ignoreErrors: "false" test2: command: "echo \"$MAGIC2\" > test2.txt" env: MAGIC2: "I come from the environment!" cwd: "~" test: "test ! -e ~/test2.txt" ignoreErrors: "false"
Files
You can use the files
key to create files on the EC2
instance. The content can be either inline in the template or the
content can be pulled from a URL. The files are written to disk in
lexicographic order. The following table lists the supported
keys.
| Key | Description |
|---|---|
|
content |
Either a string or a properly formatted JSON object. If you use a JSON object as your content, the JSON will be written to a file on disk. Any intrinsic functions such as Fn::GetAtt or Ref are evaluated before the JSON object is written to disk. When you create a symlink, specify the symlink target as the content. Note If you create a symlink, the helper script modifies the permissions of the target file. Currently, you can't create a symlink without modifying the permissions of the target file. |
|
source |
A URL to load the file from. This option cannot be specified with the content key. |
|
encoding |
The encoding format. Only used if the content is a string. Encoding is not applied if you are using a source. Valid values: |
|
group |
The name of the owning group for this file. Not supported for Windows systems. |
|
owner |
The name of the owning user for this file. Not supported for Windows systems. |
|
mode |
A six-digit octal value representing the mode for
this file. Not supported for Windows systems. Use the
first three digits for symlinks and the last three
digits for setting permissions. To create a symlink,
specify
|
|
authentication |
The name of an authentication method to use. This overrides any default authentication. You can use this property to select an authentication method you define with the AWS::CloudFormation::Authentication resource. |
|
context |
Specifies a context for files that are to be processed as Mustache templates. To use this key, you must have installed aws-cfn-bootstrap 1.3-11 or later as well as pystache. |
Examples
The following example snippet creates a file named setup.mysql as part of a larger installation.
Example JSON
"files" : { "/tmp/setup.mysql" : { "content" : { "Fn::Join" : ["", [ "CREATE DATABASE ", { "Ref" : "DBName" }, ";\n", "CREATE USER '", { "Ref" : "DBUsername" }, "'@'localhost' IDENTIFIED BY '", { "Ref" : "DBPassword" }, "';\n", "GRANT ALL ON ", { "Ref" : "DBName" }, ".* TO '", { "Ref" : "DBUsername" }, "'@'localhost';\n", "FLUSH PRIVILEGES;\n" ]]}, "mode" : "000644", "owner" : "root", "group" : "root" } }
Example YAML
files: /tmp/setup.mysql: content: !Sub | CREATE DATABASE ${DBName}; CREATE USER '${DBUsername}'@'localhost' IDENTIFIED BY '${DBPassword}'; GRANT ALL ON ${DBName}.* TO '${DBUsername}'@'localhost'; FLUSH PRIVILEGES; mode: "000644" owner: "root" group: "root"
The full template is available at: https://s3.amazonaws.com/cloudformation-templates-us-east-1/Drupal_Single_Instance.template
The following example snippet creates a symlink
/tmp/myfile2.txt
that points at an existing file
/tmp/myfile1.txt
. The permissions of the target file
/tmp/myfile1.txt
is defined by the mode value
644
.
Example JSON
"files" : { "/tmp/myfile2.txt" : { "content" : "/tmp/myfile1.txt", "mode" : "120644" } }
Example YAML
files: /tmp/myfile2.txt: content: "/tmp/myfile1.txt" mode: "120644"
Mustache templates are used primarily to create configuration
files. For example, you can store a configuration file in an S3
bucket and interpolate Refs and GetAtts from the template, instead
of using Fn::Join. The
following example snippet outputs "Content for test9" to
/tmp/test9.txt
.
Example JSON
"files" : { "/tmp/test9.txt" : { "content" : "Content for {{name}}", "context" : { "name" : "test9" } } }
Example YAML
files: /tmp/test9.txt: content: "Content for {{name}}" context: name: "test9"
When working with Mustache templates, note the following:
-
The context key must be present for the files to be processed.
-
The context key must be a key-value map, but it can be nested.
-
You can process files with inline content by using the content key and remote files by using the source key.
-
Mustache support depends on the pystache version. Version 0.5.2 supports the Mustache 1.1.2 specification.
Groups
You can use the groups key to create Linux/UNIX groups and to assign group IDs. The groups key is not supported for Windows systems.
To create a group, add a new key-value pair that maps a new group name to an optional group ID. The groups key can contain one or more group names. The following table lists the available keys.
| Key | Description |
|---|---|
|
|
A group ID number. If a group ID is specified, and the group already exists by name, the group creation will fail. If another group has the specified group ID, the OS may reject the group creation. Example: |
Example snippet
The following snippet specifies a group named
groupOne
without assigning a group ID and a group
named groupTwo
that specified a group ID value of
45
.
JSON
"groups" : { "groupOne" : {}, "groupTwo" : { "gid" : "45" } }
YAML
groups: groupOne: {} groupTwo: gid: "45"
Packages
You can use the packages key to download and install pre-packaged applications and components. On Windows systems, the packages key supports only the MSI installer.
Supported package formats
The cfn-init script currently supports the following package formats: apt, msi, python, rpm, rubygems, and yum. Packages are processed in the following order: rpm, yum/apt, and then rubygems and python. There is no ordering between rubygems and python, and packages within each package manager are not guaranteed to be installed in any order.
Specifying versions
Within each package manager, each package is specified as a package name and a list of versions. The version can be a string, a list of versions, or an empty string or list. An empty string or list indicates that you want the latest version. For rpm manager, the version is specified as a path to a file on disk or a URL.
If you specify a version of a package, cfn-init will attempt to install that version even if a newer version of the package is already installed on the instance. Some package managers support multiple versions, but others may not. Please check the documentation for your package manager for more information. If you do not specify a version and a version of the package is already installed, the cfn-init script will not install a new version—it will assume that you want to keep and use the existing version.
Example snippets
RPM, yum, and Rubygems
The following snippet specifies a version URL for rpm, requests the latest versions from yum, and version 0.10.2 of chef from rubygems:
JSON
"rpm" : { "epel" : "http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm" }, "yum" : { "httpd" : [], "php" : [], "wordpress" : [] }, "rubygems" : { "chef" : [ "0.10.2" ] }
YAML
rpm: epel: "http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm" yum: httpd: [] php: [] wordpress: [] rubygems: chef: - "0.10.2"
MSI Package
The following snippet specifies a URL for an MSI package:
JSON
"msi" : { "awscli" : "https://s3.amazonaws.com/aws-cli/AWSCLI64.msi" }
YAML
msi: awscli: "https://s3.amazonaws.com/aws-cli/AWSCLI64.msi"
Services
You can use the services key to define which services should be enabled or disabled when the instance is launched. On Linux systems, this key is supported by using sysvinit. On Windows systems, it is supported by using the Windows service manager.
The services key also allows you to specify dependencies on sources, packages and files so that if a restart is needed due to files being installed, cfn-init will take care of the service restart. For example, if you download the Apache HTTP Server package, the package installation will automatically start the Apache HTTP Server during the stack creation process. However, if the Apache HTTP Server configuration is updated later in the stack creation process, the update won't take effect unless the Apache server is restarted. You can use the services key to ensure that the Apache HTTP service is restarted.
The following table lists the supported keys.
| Key | Description |
|---|---|
|
ensureRunning |
Set to true to ensure that the service is running after cfn-init finishes. Set to false to ensure that the service is not running after cfn-init finishes. Omit this key to make no changes to the service state. |
|
enabled |
Set to true to ensure that the service will be started automatically upon boot. Set to false to ensure that the service will not be started automatically upon boot. Omit this key to make no changes to this property. |
|
files |
A list of files. If cfn-init changes one directly via the files block, this service will be restarted |
|
sources |
A list of directories. If cfn-init expands an archive into one of these directories, this service will be restarted. |
|
packages |
A map of package manager to list of package names. If cfn-init installs or updates one of these packages, this service will be restarted. |
|
commands |
A list of command names. If cfn-init runs the specified command, this service will be restarted. |
Examples
Linux
The following Linux snippet configures the services as follows:
-
The nginx service will be restarted if either /etc/nginx/nginx.conf or /var/www/html are modified by cfn-init.
-
The php-fastcgi service will be restarted if cfn-init installs or updates php or spawn-fcgi using yum.
-
The sendmail service will be stopped and disabled.
JSON
"services" : { "sysvinit" : { "nginx" : { "enabled" : "true", "ensureRunning" : "true", "files" : ["/etc/nginx/nginx.conf"], "sources" : ["/var/www/html"] }, "php-fastcgi" : { "enabled" : "true", "ensureRunning" : "true", "packages" : { "yum" : ["php", "spawn-fcgi"] } }, "sendmail" : { "enabled" : "false", "ensureRunning" : "false" } } }
YAML
services: sysvinit: nginx: enabled: "true" ensureRunning: "true" files: - "/etc/nginx/nginx.conf" sources: - "/var/www/html" php-fastcgi: enabled: "true" ensureRunning: "true" packages: yum: - "php" - "spawn-fcgi" sendmail: enabled: "false" ensureRunning: "false"
Windows
The following Windows snippet starts the cfn-hup
service, sets it to automatic, and restarts the service if
cfn-init
modifies the specified configuration
files:
JSON
"services" : { "windows" : { "cfn-hup" : { "enabled" : "true", "ensureRunning" : "true", "files" : ["c:\\cfn\\cfn-hup.conf", "c:\\cfn\\hooks.d\\cfn-auto-reloader.conf"] } } }
YAML
services: windows: cfn-hup: enabled: "true" ensureRunning: "true" files: - "c:\\cfn\\cfn-hup.conf" - "c:\\cfn\\hooks.d\\cfn-auto-reloader.conf"
Sources
You can use the sources key to download an archive file and unpack it in a target directory on the EC2 instance. This key is fully supported for both Linux and Windows systems.
Supported formats
Supported formats are tar, tar+gzip, tar+bz2 and zip.
Examples
GitHub
If you use GitHub as a source control system, you can use cfn-init and the sources package mechanism to pull a specific version of your application. GitHub allows you to create a zip or a tar from a specific version via a URL as follows:
https://github.com/<your directory>/(zipball|tarball)/<version>
For example, the following snippet pulls down version
master as a .tar
file.
JSON
"sources" : { "/etc/puppet" : "https://github.com/user1/cfn-demo/tarball/master" }
YAML
sources: /etc/puppet: "https://github.com/user1/cfn-demo/tarball/master"
S3 Bucket
The following example downloads a zip file from an Amazon S3 bucket and unpacks it into /etc/myapp:
Note
You can use authentication credentials for a source. However, you cannot put an authentication key in the sources block. Instead, include a buckets key in your S3AccessCreds block. For an example, see the example template. For more information on Amazon S3 authentication credentials, see AWS::CloudFormation::Authentication.
JSON
"sources" : { "/etc/myapp" : "https://s3.amazonaws.com/mybucket/myapp.tar.gz" }
YAML
sources: /etc/myapp: "https://s3.amazonaws.com/mybucket/myapp.tar.gz"
Users
You can use the users key to create Linux/UNIX users on the EC2 instance. The users key is not supported for Windows systems.
The following table lists the supported keys.
| Key | Description |
|---|---|
|
uid |
A user ID. The creation process fails if the user name exists with a different user ID. If the user ID is already assigned to an existing user the operating system may reject the creation request. |
|
groups |
A list of group names. The user will be added to each group in the list. |
|
homeDir |
The user's home directory. |
Example
Users are created as non-interactive system users with a shell of /sbin/nologin. This is by design and cannot be modified.
JSON
"users" : { "myUser" : { "groups" : ["groupOne", "groupTwo"], "uid" : "50", "homeDir" : "/tmp" } }
YAML
users: myUser: groups: - "groupOne" - "groupTwo" uid: "50" homeDir: "/tmp"


You can import your data via pasting or entering from keyboard. Our Data Importer supports string type.
This template features the 'Lato' font, part of the Google Web Font library, as well as icons from Font Awesome.


Las Palmas rule out Riqui Puig as Viera replacement
President of the island club Miguel Ángel Ramírez, confirmed it
by Sport ENUD Las Palmas are looking for a player to replace Jonathan Viera in January 2020 but will not move for Barcelona B’s Riqui Puig, the president Miguel Angel Ramirez said in a press conference.
Viera, loaned to the islanders by Beijing Guoan until December 31, will return to China most likely and the club will have a hole to fill. However they want a player with more status than Riqui.
“We will have him until December 31 and after that we’ll see what happens, I can’t go telling you the strategies of the club,” said the chief.
“The player has helped us get wins but with him we are 15th in the table. If he goes we will bring in another footballer and we’re working on that.”
However he said it will not be the Barcelona man.


CMS
Section: OpenSSL (1)Updated: 2009-09-30
Index Return to Main Contents
NAME
cms - CMS utilitySYNOPSIS
openssl cms [-encrypt] [-decrypt] [-sign] [-verify] [-cmsout] [-resign] [-data_create] [-data_out] [-digest_create] [-digest_verify] [-compress] [-uncompress] [-EncryptedData_encrypt] [-sign_receipt] [-verify_receipt receipt] [-in filename] [-inform SMIME|PEM|DER] [-rctform SMIME|PEM|DER] [-out filename] [-outform SMIME|PEM|DER] [-stream -indef -noindef] [-noindef] [-content filename] [-text] [-noout] [-print] [-CAfile file] [-CApath dir] [-md digest] [-[cipher]] [-nointern] [-no_signer_cert_verify] [-nocerts] [-noattr] [-nosmimecap] [-binary] [-nodetach] [-certfile file] [-certsout file] [-signer file] [-recip file] [-keyid] [-receipt_request_all -receipt_request_first] [-receipt_request_from emailaddress] [-receipt_request_to emailaddress] [-receipt_request_print] [-secretkey key] [-secretkeyid id] [-econtent_type type] [-inkey file] [-passin arg] [-rand file(s)] [cert.pem...] [-to addr] [-from addr] [-subject subj] [cert.pem]...DESCRIPTION
The cms command handles S/MIME v3.1 mail. It can encrypt, decrypt, sign and verify, compress and uncompress S/MIME messages.COMMAND OPTIONS
There are fourteen operation options that set the type of operation to be performed. The meaning of the other options varies according to the operation type.- -encrypt
- encrypt mail for the given recipient certificates. Input file is the message to be encrypted. The output file is the encrypted mail in MIME format. The actual CMS type is <B>EnvelopedData<B>.
- -decrypt
- decrypt mail using the supplied certificate and private key. Expects an encrypted mail message in MIME format for the input file. The decrypted mail is written to the output file.
- -sign
- sign mail using the supplied certificate and private key. Input file is the message to be signed. The signed message in MIME format is written to the output file.
- -verify
- verify signed mail. Expects a signed mail message on input and outputs the signed data. Both clear text and opaque signing is supported.
- -cmsout
- takes an input message and writes out a PEM encoded CMS structure.
- -resign
- resign a message: take an existing message and one or more new signers.
- -data_create
- Create a CMS Data type.
- -data_out
- Data type and output the content.
- -digest_create
- Create a CMS DigestedData type.
- -digest_verify
- Verify a CMS DigestedData type and output the content.
- -compress
- Create a CMS CompressedData type. OpenSSL must be compiled with zlib support for this option to work, otherwise it will output an error.
- -uncompress
- Uncompress a CMS CompressedData type and output the content. OpenSSL must be compiled with zlib support for this option to work, otherwise it will output an error.
- -EncryptedData_encrypt
- Encrypt suppled content using supplied symmetric key and algorithm using a CMS EncrytedData type and output the content.
- -sign_receipt
- Generate and output a signed receipt for the supplied message. The input message must contain a signed receipt request. Functionality is otherwise similar to the -sign operation.
- -verify_receipt receipt
- Verify a signed receipt in filename receipt. The input message must contain the original receipt request. Functionality is otherwise similar to the -verify operation.
- -in filename
- the input message to be encrypted or signed or the message to be decrypted or verified.
- -inform SMIME|PEM|DER
- this specifies the input format for the CMS structure. The default is SMIME which reads an S/MIME format message. PEM and DER format change this to expect PEM and DER format CMS structures instead. This currently only affects the input format of the CMS structure, if no CMS structure is being input (for example with -encrypt or -sign) this option has no effect.
- -rctform SMIME|PEM|DER
- specify the format for a signed receipt for use with the -receipt_verify operation.
- -out filename
- the message text that has been decrypted or verified or the output MIME format message that has been signed or verified.
- -outform SMIME|PEM|DER
- this specifies the output format for the CMS structure. The default is SMIME which writes an S/MIME format message. PEM and DER format change this to write PEM and DER format CMS structures instead. This currently only affects the output format of the CMS structure, if no CMS structure is being output (for example with -verify or -decrypt) this option has no effect.
- -stream -indef -noindef
- the -stream and -indef options are equivalent and enable streaming I/O for encoding operations. This permits single pass processing of data without the need to hold the entire contents in memory, potentially supporting very large files. Streaming is automatically set for S/MIME signing with detached data if the output format is SMIME it is currently off by default for all other operations.
- -noindef
- disable streaming I/O where it would produce and indefinite length constructed encoding. This option currently has no effect. In future streaming will be enabled by default on all relevant operations and this option will disable it.
- -content filename
- This specifies a file containing the detached content, this is only useful with the -verify command. This is only usable if the CMS structure is using the detached signature form where the content is not included. This option will override any content if the input format is S/MIME and it uses the multipart/signed MIME content type.
- -text
- this option adds plain text (text/plain) MIME headers to the supplied message if encrypting or signing. If decrypting or verifying it strips off text headers: if the decrypted or verified message is not of MIME type text/plain then an error occurs.
- -noout
- for the -cmsout operation do not output the parsed CMS structure. This is useful when combined with the -print option or if the syntax of the CMS structure is being checked.
- for the -cmsout operation print out all fields of the CMS structure. This is mainly useful for testing purposes.
- -CAfile file
- a file containing trusted CA certificates, only used with -verify.
- -CApath dir
- a directory containing trusted CA certificates, only used with -verify. This directory must be a standard certificate directory: that is a hash of each subject name (using x509 -hash) should be linked to each certificate.
- -md digest
- digest algorithm to use when signing or resigning. If not present then the default digest algorithm for the signing key will be used (usually SHA1).
- -[cipher]
-
the encryption algorithm to use. For example triple DES (168 bits) - -des3
or 256 bit AES - -aes256. Any standard algorithm name (as used by the
EVP_get_cipherbyname() function) can also be used preceded by a dash, for
example -aes_128_cbc. See enc for a list of ciphers
supported by your version of OpenSSL.
If not specified triple DES is used. Only used with -encrypt and -EncryptedData_create commands.
- -nointern
- when verifying a message normally certificates (if any) included in the message are searched for the signing certificate. With this option only the certificates specified in the -certfile option are used. The supplied certificates can still be used as untrusted CAs however.
- -no_signer_cert_verify
- do not verify the signers certificate of a signed message.
- -nocerts
- when signing a message the signer's certificate is normally included with this option it is excluded. This will reduce the size of the signed message but the verifier must have a copy of the signers certificate available locally (passed using the -certfile option for example).
- -noattr
- normally when a message is signed a set of attributes are included which include the signing time and supported symmetric algorithms. With this option they are not included.
- -nosmimecap
- exclude the list of supported algorithms from signed attributes, other options such as signing time and content type are still included.
- -binary
- normally the input message is converted to ``canonical'' format which is effectively using CR and LF as end of line: as required by the S/MIME specification. When this option is present no translation occurs. This is useful when handling binary data which may not be in MIME format.
- -nodetach
- when signing a message use opaque signing: this form is more resistant to translation by mail relays but it cannot be read by mail agents that do not support S/MIME. Without this option cleartext signing with the MIME type multipart/signed is used.
- -certfile file
- allows additional certificates to be specified. When signing these will be included with the message. When verifying these will be searched for the signers certificates. The certificates should be in PEM format.
- -certsout file
- any certificates contained in the message are written to file.
- -signer file
- a signing certificate when signing or resigning a message, this option can be used multiple times if more than one signer is required. If a message is being verified then the signers certificates will be written to this file if the verification was successful.
- -recip file
- the recipients certificate when decrypting a message. This certificate must match one of the recipients of the message or an error occurs.
- -keyid
- use subject key identifier to identify certificates instead of issuer name and serial number. The supplied certificate must include a subject key identifier extension. Supported by -sign and -encrypt options.
- -receipt_request_all -receipt_request_first
- for -sign option include a signed receipt request. Indicate requests should be provided by all receipient or first tier recipients (those mailed directly and not from a mailing list). Ignored it -receipt_request_from is included.
- -receipt_request_from emailaddress
- for -sign option include a signed receipt request. Add an explicit email address where receipts should be supplied.
- -receipt_request_to emailaddress
- Add an explicit email address where signed receipts should be sent to. This option must but supplied if a signed receipt it requested.
- -receipt_request_print
- For the -verify operation print out the contents of any signed receipt requests.
- -secretkey key
- specify symmetric key to use. The key must be supplied in hex format and be consistent with the algorithm used. Supported by the -EncryptedData_encrypt -EncrryptedData_decrypt, -encrypt and -decrypt options. When used with -encrypt or -decrypt the supplied key is used to wrap or unwrap the content encryption key using an AES key in the KEKRecipientInfo type.
- -secretkeyid id
- the key identifier for the supplied symmetric key for KEKRecipientInfo type. This option must be present if the -secretkey option is used with -encrypt. With -decrypt operations the id is used to locate the relevant key if it is not supplied then an attempt is used to decrypt any KEKRecipientInfo structures.
- -econtent_type type
- set the encapsulated content type to type if not supplied the Data type is used. The type argument can be any valid OID name in either text or numerical format.
- -inkey file
- the private key to use when signing or decrypting. This must match the corresponding certificate. If this option is not specified then the private key must be included in the certificate file specified with the -recip or -signer file. When signing this option can be used multiple times to specify successive keys.
- -passin arg
- the private key password source. For more information about the format of arg see the PASS PHRASE ARGUMENTS section in openssl(1).
- -rand file(s)
- a file or files containing random data used to seed the random number generator, or an EGD socket (see RAND_egd(3)). Multiple files can be specified separated by a OS-dependent character. The separator is ; for MS-Windows, , for OpenVMS, and : for all others.
- cert.pem...
- one or more certificates of message recipients: used when encrypting a message.
- -to, -from, -subject
- the relevant mail headers. These are included outside the signed portion of a message so they may be included manually. If signing then many S/MIME mail clients check the signers certificate's email address matches that specified in the From: address.
- -purpose, -ignore_critical, -issuer_checks, -crl_check, -crl_check_all, -policy_check, -extended_crl, -x509_strict, -policy -check_ss_sig
- Set various certificate chain valiadition option. See the verify manual page for details.
NOTES
The MIME message must be sent without any blank lines between the headers and the output. Some mail programs will automatically add a blank line. Piping the mail directly to sendmail is one way to achieve the correct format.The supplied message to be signed or encrypted must include the necessary MIME headers or many S/MIME clients wont display it properly (if at all). You can use the -text option to automatically add plain text headers.
A ``signed and encrypted'' message is one where a signed message is then encrypted. This can be produced by encrypting an already signed message: see the examples section.
This version of the program only allows one signer per message but it will verify multiple signers on received messages. Some S/MIME clients choke if a message contains multiple signers. It is possible to sign messages ``in parallel'' by signing an already signed message.
The options -encrypt and -decrypt reflect common usage in S/MIME clients. Strictly speaking these process CMS enveloped data: CMS encrypted data is used for other purposes.
The -resign option uses an existing message digest when adding a new signer. This means that attributes must be present in at least one existing signer using the same message digest or this operation will fail.
The -stream and -indef options enable experimental streaming I/O support. As a result the encoding is BER using indefinite length constructed encoding and no longer DER. Streaming is supported for the -encrypt operation and the -sign operation if the content is not detached.
Streaming is always used for the -sign operation with detached data but since the content is no longer part of the CMS structure the encoding remains DER.
EXIT CODES
- 0
- the operation was completely successfully.
- 1
- an error occurred parsing the command options.
- 2
- one of the input files could not be read.
- 3
- an error occurred creating the CMS file or when reading the MIME message.
- 4
- an error occurred decrypting or verifying the message.
- 5
- the message was verified correctly but an error occurred writing out the signers certificates.
COMPATIBILITY WITH PKCS#7 format.
The smime utility can only process the older PKCS#7 format. The cms utility supports Cryptographic Message Syntax format. Use of some features will result in messages which cannot be processed by applications which only support the older format. These are detailed below.The use of the -keyid option with -sign or -encrypt.
The -outform PEM option uses different headers.
The -compress option.
The -secretkey option when used with -encrypt.
Additionally the -EncryptedData_create and -data_create type cannot be processed by the older smime command.
EXAMPLES
Create a cleartext signed message:
openssl cms -sign -in message.txt -text -out mail.msg \ -signer mycert.pem
Create an opaque signed message
openssl cms -sign -in message.txt -text -out mail.msg -nodetach \ -signer mycert.pem
Create a signed message, include some additional certificates and read the private key from another file:
openssl cms -sign -in in.txt -text -out mail.msg \ -signer mycert.pem -inkey mykey.pem -certfile mycerts.pem
Create a signed message with two signers, use key identifier:
openssl cms -sign -in message.txt -text -out mail.msg \ -signer mycert.pem -signer othercert.pem -keyid
Send a signed message under Unix directly to sendmail, including headers:
openssl cms -sign -in in.txt -text -signer mycert.pem \ -from<EMAIL_ADDRESS>-to someone@somewhere \ -subject "Signed message" | sendmail someone@somewhere
Verify a message and extract the signer's certificate if successful:
openssl cms -verify -in mail.msg -signer user.pem -out signedtext.txt
Send encrypted mail using triple DES:
openssl cms -encrypt -in in.txt -from<EMAIL_ADDRESS>\ -to someone@somewhere -subject "Encrypted message" \ -des3 user.pem -out mail.msg
Sign and encrypt mail:
openssl cms -sign -in ml.txt -signer my.pem -text \ | openssl cms -encrypt -out mail.msg \ -from<EMAIL_ADDRESS>-to someone@somewhere \ -subject "Signed and Encrypted message" -des3 user.pem
Note: the encryption command does not include the -text option because the message being encrypted already has MIME headers.
Decrypt mail:
openssl cms -decrypt -in mail.msg -recip mycert.pem -inkey key.pem
The output from Netscape form signing is a PKCS#7 structure with the detached signature format. You can use this program to verify the signature by line wrapping the base64 encoded structure and surrounding it with:
-----BEGIN PKCS7----- -----END PKCS7-----
and using the command,
openssl cms -verify -inform PEM -in signature.pem -content content.txt
alternatively you can base64 decode the signature and use
openssl cms -verify -inform DER -in signature.der -content content.txt
Create an encrypted message using 128 bit Camellia:
openssl cms -encrypt -in plain.txt -camellia128 -out mail.msg cert.pem
Add a signer to an existing message:
openssl cms -resign -in mail.msg -signer newsign.pem -out mail2.msg
BUGS
The MIME parser isn't very clever: it seems to handle most messages that I've thrown at it but it may choke on others.The code currently will only write out the signer's certificate to a file: if the signer has a separate encryption certificate this must be manually extracted. There should be some heuristic that determines the correct encryption certificate.
Ideally a database should be maintained of a certificates for each email address.
The code doesn't currently take note of the permitted symmetric encryption algorithms as supplied in the SMIMECapabilities signed attribute. this means the user has to manually include the correct encryption algorithm. It should store the list of permitted ciphers in a database and only use those.
No revocation checking is done on the signer's certificate.
HISTORY
The use of multiple -signer options and the -resign command were first added in OpenSSL 1.0.0
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- COMMAND OPTIONS
- NOTES
- EXIT CODES
- COMPATIBILITY WITH PKCS#7 format.
- EXAMPLES
- BUGS
- HISTORY
This document was created by man2html, using the manual pages.
Time: 05:29:02 GMT, December 24, 2015


[dscrdvrsc] <BlockTech> sorry i should ask that in mining room <-
GatewayBOT06-Nov-18 01:29 PM
[dscrdvrsc] <FishyGuts> I looked at atlant
[dscrdvrsc] <FishyGuts> And made a commmwnt.
[dscrdvrsc] <FishyGuts> There’s no way in my mind that project succeeds.
[dscrdvrsc] <FishyGuts> Regulatory practices in the lending industry do not allow for crowdfunding on a level like this without considerable paperwork. Bot for investors and regional specific lending laws.
[dscrdvrsc] <FishyGuts> One problem loan and the whole project goes up in smoke.
[dscrdvrsc] <FishyGuts> I’m new to this but in my 20 years experience and 65 years as a family working in loans.... they’re dreaming.
[dscrdvrsc] <FishyGuts> It’s a scam essentially. I would Guarantee the company is also skimming “servicing fees” on the loans too in the form of rate spread participation.
[dscrdvrsc] <FishyGuts> Seems shady 100%
[dscrdvrsc] <FishyGuts> I’ve seen smaller companies go down for the smallest things.
[dscrdvrsc] <FishyGuts> No way this project makes it. Not yet. Maybe in ten years when regulatory practices allow for this type of investing.
[dscrdvrsc] <FishyGuts> Sad that they have so many people fooled.
Who knows maybe I’m the fool but I’ll gladly apologize with hat in hand if they last more than 5 years.
[dscrdvrsc] <Hollowman9000> You look great for 65 @FishyGuts, no homo
[dscrdvrsc] <FishyGuts>
[dscrdvrsc] <FishyGuts> 45 years for my pops - and 20 for me. Technically almost 40 for me. I’ve been helping him sign loans by distracting customers and brokers for him since I was 2 years old.
GatewayBOT06-Nov-18 02:07 PM
[dscrdvrsc] <BlockTech> Nice analyse Fishy ^^, hope you'll save some people from being scammed ^^
GatewayBOT06-Nov-18 03:33 PM
[dscrdvrsc] <Hollowman9000> Maybe txbit will DQ them
[dscrdvrsc] <Hollowman9000> “Sorry, no busted securities scams”
GatewayBOT06-Nov-18 03:59 PM
[dscrdvrsc] <FishyGuts> @BlockTech unfortunatley, noone who has already bought will listen.
GatewayBOT06-Nov-18 04:57 PM
[dscrdvrsc] <MMMCCCXXXIII> hmmm interesting to see that the VoteCoin (VOT) also activated Sapling on 29th October
[dscrdvrsc] <MMMCCCXXXIII> I thought that project was done, guess I was wrong
GatewayBOT06-Nov-18 05:18 PM
[dscrdvrsc] <Hollowman9000> Never heard of them
GatewayBOT06-Nov-18 06:08 PM
[dscrdvrsc] <mikeydof3> where is my sapling address? i think i am missing some info i am just running the verus lite wallet can some one point me in the right direction ps it took me 4 days to get my vega's running so i am a little wore out(edited)
GatewayBOT06-Nov-18 06:25 PM
[dscrdvrsc] <miketout> @mikeydof3 lite mode is fast to load, but it doesn’t support z-transactions. You’ll need to run the wallet in native mode to get a sapling address. You can export your lite mode private key and import that or the pass phrase directly into your native mode wallet, so you have it there as well
[dscrdvrsc] <mikeydof3> @miketout so i need a coin to activate it a komodo coin is that correct(edited)
GatewayBOT06-Nov-18 06:37 PM
[dscrdvrsc] <miketout> No. If you have the Verus enhanced Agama, it supports Verus in native mode. It sounds like you might not have Agama from https://veruscoin.io . Komodo Agama only supports Verus in lite mode
Community driven open source CPU mineable cryptocurrency with 50/50 Proof-of-Work/Proof-of-Stake, zk-SNARK zero-knowledge proof privacy.
GatewayBOT06-Nov-18 06:51 PM
[dscrdvrsc] <mikeydof3> i have agama 0.4.0f-beta i though i down loaded it from the website, my take on it was i needed coin to run a full node buty it would let you run the lite version to get going let me log out and in and take a look i have my pass phrase(edited)
GatewayBOT06-Nov-18 07:09 PM
[dscrdvrsc] <mikeydof3> ok found it thank you@miketout
GatewayBOT06-Nov-18 08:38 PM
[dscrdvrsc] <silkspinner> Aw shucks, its official, Atlant takes round 3
[dscrdvrsc] <stretcher83> I will be voting again , iv got a good feeling about this next round , i was shocked how many votes Atlant actually got in the end , well done to them I suppose, but i do feel that our coin has got more to offer and more realistic goals ahead of us
[dscrdvrsc] <nmnm> true. i cant believe they were in the first place by 2-3 thousands votes
GatewayBOT07-Nov-18 04:23 PM
[dscrdvrsc] <BlockTech> What are the goals of veruscoin ?
GatewayBOT07-Nov-18 04:31 PM
[dscrdvrsc] <stretcher83> Its all in the white paper bud and the vision paper , bloody good read , if i do say so .